Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",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.0009799/0.0009798, allocations: 177 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008269/0.000827, allocations: 82.22 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.097e-05/2.108e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.09307, allocations: 47.59 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3271/0.4202, allocations: 78.9 MB / 442.1 MB, free: 492 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/0.4207, allocations: 76.33 kB / 442.1 MB, free: 452 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03127/0.4519, allocations: 6.012 MB / 448.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.452, allocations: 0 / 448.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.759e-05/0.4521, allocations: 8 kB / 448.2 MB, free: 11.36 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.001581/0.4537, allocations: 0.5909 MB / 448.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.4537, allocations: 12.03 kB / 448.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.4539, allocations: 32.75 kB / 448.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.4544, allocations: 279.5 kB / 449.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.4545, allocations: 11.95 kB / 449.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.4546, allocations: 12 kB / 449.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005679/0.4552, allocations: 165.7 kB / 449.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.4557, allocations: 187.1 kB / 449.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.4558, allocations: 0 / 449.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.4558, allocations: 0 / 449.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.4558, allocations: 8 kB / 449.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.4585, allocations: 0.914 MB / 450.4 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.4592, allocations: 259.5 kB / 450.6 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.4595, allocations: 87.47 kB / 450.7 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.4596, allocations: 4 kB / 450.7 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000371/0.4599, allocations: 148.8 kB / 450.9 MB, free: 8.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 2.435e-06/0.46, allocations: 0 / 450.9 MB, free: 8.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007544/0.4607, allocations: 218.9 kB / 451.1 MB, free: 8.727 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.4608, allocations: 106.8 kB / 451.2 MB, free: 8.598 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.4611, allocations: 219.7 kB / 451.4 MB, free: 8.414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.4612, allocations: 25.7 kB / 451.4 MB, free: 8.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.4613, allocations: 182.9 kB / 451.6 MB, free: 8.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.4614, allocations: 57.08 kB / 451.6 MB, free: 8.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.4614, allocations: 0 / 451.6 MB, free: 8.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4616, allocations: 332.9 kB / 452 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.4618, allocations: 56.61 kB / 452 MB, free: 7.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.462, allocations: 130.5 kB / 452.2 MB, free: 7.695 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.4622, allocations: 67.23 kB / 452.2 MB, free: 7.652 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4622, allocations: 0 / 452.2 MB, free: 7.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007984/0.463, allocations: 282.6 kB / 452.5 MB, free: 7.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003097/0.4633, allocations: 0.6324 MB / 453.1 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4634, allocations: 0 / 453.1 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.4636, allocations: 32.53 kB / 453.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.464, allocations: 71.77 kB / 453.2 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004993/0.4645, allocations: 0.5575 MB / 453.8 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.465, allocations: 51.91 kB / 453.8 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.4651, allocations: 7.5 kB / 453.8 MB, free: 6.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.4651, allocations: 4 kB / 453.8 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005072/0.4656, allocations: 187.3 kB / 454 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4657, allocations: 192 / 454 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.745e-05/0.4658, allocations: 28.52 kB / 454.1 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.4662, allocations: 66.58 kB / 454.1 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.4674, allocations: 1.338 MB / 455.5 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.4678, allocations: 35.97 kB / 455.5 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.4678, allocations: 15 kB / 455.5 MB, free: 4.34 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real 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 (26): * Single equations (assignments): 24 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.4681, allocations: 113.4 kB / 455.6 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005256/0.4686, allocations: 213.8 kB / 455.8 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.4687, allocations: 23.72 kB / 455.9 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.4687, allocations: 23.58 kB / 455.9 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4687, allocations: 4.094 kB / 455.9 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4688, allocations: 3.938 kB / 455.9 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4688, allocations: 7.875 kB / 455.9 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.4698, allocations: 0.587 MB / 456.5 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4698, allocations: 0 / 456.5 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.4701, allocations: 48 kB / 456.5 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-05/0.4702, allocations: 35.17 kB / 456.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.4702, allocations: 0 / 456.6 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.4712, allocations: 1.31 MB / 457.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.4712, allocations: 4.031 kB / 457.9 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.4718, allocations: 404.8 kB / 458.3 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.4719, allocations: 104.3 kB / 458.4 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.4719, allocations: 12.06 kB / 458.4 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.4722, allocations: 31.97 kB / 458.4 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.4723, allocations: 22.97 kB / 458.4 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.4723, allocations: 7.984 kB / 458.4 MB, free: 1.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.4725, allocations: 172.5 kB / 458.6 MB, free: 1.332 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4725, allocations: 0 / 458.6 MB, free: 1.332 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000547/0.4731, allocations: 123.6 kB / 458.7 MB, free: 1.211 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000957/0.474, allocations: 1.01 MB / 459.7 MB, free: 248 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000765/0.4748, allocations: 489.2 kB / 460.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.4748, allocations: 0 / 460.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.475, allocations: 186 kB / 460.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.4754, allocations: 44.25 kB / 460.4 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.4765, allocations: 419.5 kB / 460.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.4769, allocations: 0.7645 MB / 461.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000199/0.4771, allocations: 34.05 kB / 461.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4773, allocations: 80.41 kB / 461.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4773, allocations: 0 / 461.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.5037, allocations: 5.337 MB / 467.1 MB, free: 9.016 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.5039, allocations: 142.5 kB / 467.2 MB, free: 8.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.382, allocations: 0 / 467.2 MB, free: 8.82 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat