Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0023/0.0023, allocations: 181.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 90.66 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.17e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.098, allocations: 47.57 MB / 369.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5108/0.6089, allocations: 79.32 MB / 448.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004067/0.6094, allocations: 81.86 kB / 448.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0418/0.6512, allocations: 6.052 MB / 454.6 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6513, allocations: 4 kB / 454.6 MB, free: 8.652 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.758e-05/0.6513, allocations: 12 kB / 454.7 MB, free: 8.641 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002087/0.6534, allocations: 0.5852 MB / 455.2 MB, free: 8.027 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.484e-05/0.6535, allocations: 8.031 kB / 455.2 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.6537, allocations: 56.98 kB / 455.3 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.6539, allocations: 39.3 kB / 455.3 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.6547, allocations: 280.6 kB / 455.6 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.6548, allocations: 15.31 kB / 455.6 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/0.6549, allocations: 26.81 kB / 455.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/0.6558, allocations: 217.1 kB / 455.9 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.6558, allocations: 0 / 455.9 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/0.6559, allocations: 10.69 kB / 455.9 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.6559, allocations: 4 kB / 455.9 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007843/0.6567, allocations: 174.4 kB / 456.1 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.6607, allocations: 0.9882 MB / 457 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.6615, allocations: 151.8 kB / 457.2 MB, free: 6.348 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.6618, allocations: 74.19 kB / 457.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.271e-05/0.6619, allocations: 7.938 kB / 457.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005253/0.6625, allocations: 141 kB / 457.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 3.537e-06/0.6625, allocations: 0 / 457.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001296/0.6638, allocations: 230.4 kB / 457.6 MB, free: 5.965 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.664, allocations: 106.8 kB / 457.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006212/0.6646, allocations: 240.2 kB / 458 MB, free: 5.629 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.6647, allocations: 36.33 kB / 458 MB, free: 5.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.665, allocations: 229.1 kB / 458.2 MB, free: 5.391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.6651, allocations: 60.16 kB / 458.3 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.6652, allocations: 6.75 kB / 458.3 MB, free: 5.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.6654, allocations: 318 kB / 458.6 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.6657, allocations: 61.98 kB / 458.7 MB, free: 4.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.6661, allocations: 127.4 kB / 458.8 MB, free: 4.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.6664, allocations: 93.39 kB / 458.9 MB, free: 4.777 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.6665, allocations: 4 kB / 458.9 MB, free: 4.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001425/0.6679, allocations: 319.1 kB / 459.2 MB, free: 4.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004498/0.6684, allocations: 0.6485 MB / 459.8 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.6684, allocations: 0 / 459.8 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004436/0.6689, allocations: 56.27 kB / 459.9 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.6694, allocations: 47.97 kB / 460 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009226/0.6704, allocations: 0.5826 MB / 460.5 MB, free: 3.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000877/0.6713, allocations: 59.72 kB / 460.6 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.6714, allocations: 7.984 kB / 460.6 MB, free: 3.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6714, allocations: 4 kB / 460.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001039/0.6725, allocations: 251.8 kB / 460.8 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.924e-06/0.6725, allocations: 0 / 460.8 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002486/0.6728, allocations: 40.72 kB / 460.9 MB, free: 2.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.6734, allocations: 55.84 kB / 460.9 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.6759, allocations: 1.53 MB / 462.5 MB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.6766, allocations: 47.72 kB / 462.5 MB, free: 1.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.6767, allocations: 7.938 kB / 462.5 MB, free: 1.203 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.6769, allocations: 124.6 kB / 462.6 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.677, allocations: 23.72 kB / 462.7 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.6772, allocations: 33.22 kB / 462.7 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.6772, allocations: 4 kB / 462.7 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6772, allocations: 0 / 462.7 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.6772, allocations: 0 / 462.7 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.6779, allocations: 318 kB / 463 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.6779, allocations: 0 / 463 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.6784, allocations: 39.97 kB / 463.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003304/0.6788, allocations: 44.84 kB / 463.1 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.6788, allocations: 7.984 kB / 463.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/0.6818, allocations: 1.516 MB / 464.6 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6819, allocations: 0 / 464.6 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.6834, allocations: 333.5 kB / 465 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.6836, allocations: 104.8 kB / 465.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.252e-05/0.6837, allocations: 4 kB / 465.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/0.6844, allocations: 39.97 kB / 465.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.6846, allocations: 31.95 kB / 465.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.6846, allocations: 4 kB / 465.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004395/0.6851, allocations: 187.1 kB / 465.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6851, allocations: 0 / 465.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001272/0.6864, allocations: 131.7 kB / 465.4 MB, free: 14.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002048/0.6885, allocations: 0.8784 MB / 466.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.6902, allocations: 491.1 kB / 466.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.6903, allocations: 4 kB / 466.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006074/0.6909, allocations: 210.3 kB / 467 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/0.6916, allocations: 40.92 kB / 467.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.6936, allocations: 447.8 kB / 467.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.6942, allocations: 0.7602 MB / 468.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.6944, allocations: 83.41 kB / 468.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.522e-06/0.6944, allocations: 0 / 468.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.778/3.473, allocations: 5.469 MB / 473.8 MB, free: 5.582 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat