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.001246/0.001246, allocations: 181.2 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008378/0.0008376, allocations: 94.64 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002412/0.0002412, allocations: 4 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2295, allocations: 47.57 MB / 375.9 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0907/0.3202, allocations: 79.4 MB / 455.3 MB, free: 1.254 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.3205, allocations: 87.94 kB / 455.4 MB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01745/0.338, allocations: 6.07 MB / 461.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.338, allocations: 0 / 461.5 MB, free: 11.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.6e-05/0.3381, allocations: 12 kB / 461.5 MB, free: 11.06 MB / 346.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.001223/0.3393, allocations: 0.6262 MB / 462.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3394, allocations: 8.031 kB / 462.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.903e-05/0.3394, allocations: 58.55 kB / 462.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.3396, allocations: 35.61 kB / 462.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.34, allocations: 284.5 kB / 462.5 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.34, allocations: 12.56 kB / 462.5 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.3401, allocations: 24 kB / 462.5 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.3407, allocations: 276.8 kB / 462.8 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3407, allocations: 0 / 462.8 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.3408, allocations: 15.94 kB / 462.8 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.3408, allocations: 4 kB / 462.8 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000788/0.3416, allocations: 310 kB / 463.1 MB, free: 9.316 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.3434, allocations: 0.9694 MB / 464.1 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/0.3443, allocations: 387.8 kB / 464.5 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.3443, allocations: 7.891 kB / 464.5 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004937/0.3448, allocations: 206.1 kB / 464.7 MB, free: 7.645 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.3448, allocations: 0 / 464.7 MB, free: 7.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001692/0.3465, allocations: 0.6288 MB / 465.3 MB, free: 6.988 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.3466, allocations: 110.8 kB / 465.4 MB, free: 6.855 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.3469, allocations: 241.6 kB / 465.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.3469, allocations: 33.7 kB / 465.7 MB, free: 6.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.347, allocations: 180 kB / 465.9 MB, free: 6.395 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.3471, allocations: 55.19 kB / 465.9 MB, free: 6.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.3471, allocations: 8 kB / 465.9 MB, free: 6.332 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.3472, allocations: 330.8 kB / 466.2 MB, free: 6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.3476, allocations: 120.2 kB / 466.4 MB, free: 5.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.348, allocations: 188.2 kB / 466.5 MB, free: 5.664 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.3483, allocations: 156.3 kB / 466.7 MB, free: 5.508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3483, allocations: 0 / 466.7 MB, free: 5.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009848/0.3493, allocations: 452.5 kB / 467.1 MB, free: 5.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003109/0.3496, allocations: 0.6426 MB / 467.8 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.3497, allocations: 4 kB / 467.8 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.3499, allocations: 52.81 kB / 467.8 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.3502, allocations: 75.84 kB / 467.9 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005227/0.3508, allocations: 0.5874 MB / 468.5 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.3511, allocations: 55.75 kB / 468.6 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.3511, allocations: 12.06 kB / 468.6 MB, free: 3.543 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.3511, allocations: 11.94 kB / 468.6 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007491/0.3519, allocations: 323.3 kB / 468.9 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3519, allocations: 0 / 468.9 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.75e-05/0.352, allocations: 28.8 kB / 468.9 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.3523, allocations: 71.89 kB / 469 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.3534, allocations: 1.382 MB / 470.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.3537, allocations: 47.84 kB / 470.4 MB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.3537, allocations: 8 kB / 470.4 MB, free: 1.535 MB / 346.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 () * Number of clocked 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.0001802/0.3539, allocations: 221.2 kB / 470.6 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.3539, allocations: 27.72 kB / 470.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.354, allocations: 26.27 kB / 470.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.354, allocations: 7.938 kB / 470.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.354, allocations: 0 / 470.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.354, allocations: 0 / 470.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.3553, allocations: 0.7636 MB / 471.5 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3553, allocations: 4.031 kB / 471.5 MB, free: 428 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.3556, allocations: 47.97 kB / 471.5 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001606/0.3557, allocations: 60.81 kB / 471.6 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3558, allocations: 0 / 471.6 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.3573, allocations: 1.507 MB / 473.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.3573, allocations: 7.984 kB / 473.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3585, allocations: 0.5765 MB / 473.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.3586, allocations: 112.8 kB / 473.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.3586, allocations: 4 kB / 473.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.3589, allocations: 39.95 kB / 473.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.359, allocations: 19.97 kB / 473.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.359, allocations: 12 kB / 473.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002201/0.3593, allocations: 194 kB / 474 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3593, allocations: 0 / 474 MB, free: 13.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000586/0.3599, allocations: 127.7 kB / 474.2 MB, free: 13.54 MB / 362.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) * Number of clocked states: 0 () * 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.001672/0.3616, allocations: 1.213 MB / 475.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.3628, allocations: 0.6427 MB / 476 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3628, allocations: 0 / 476 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004339/0.3633, allocations: 255 kB / 476.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.3636, allocations: 48.48 kB / 476.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.3674, allocations: 2.711 MB / 479 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.3678, allocations: 0.7679 MB / 479.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.368, allocations: 34.27 kB / 479.8 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.3681, allocations: 83.41 kB / 479.9 MB, free: 7.609 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3681, allocations: 0 / 479.9 MB, free: 7.609 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.3884, allocations: 6.005 MB / 485.9 MB, free: 1.621 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/0.3887, allocations: 209.1 kB / 486.1 MB, free: 1.383 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.35, allocations: 4.062 kB / 486.1 MB, free: 1.379 MB / 362.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