Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",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.0009955/0.0009954, allocations: 177.8 kB / 8.7 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.598/1.598, allocations: 205.3 MB / 214.4 MB, free: 1.727 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.000796/0.0007961, allocations: 86.69 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.874e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0825/0.08253, allocations: 47.59 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3346/0.4172, allocations: 78.31 MB / 441.5 MB, free: 1.098 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.4174, allocations: 71.34 kB / 441.5 MB, free: 1.062 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0318/0.4493, allocations: 12.69 MB / 454.2 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4493, allocations: 0 / 454.2 MB, free: 6.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.475e-05/0.4493, allocations: 20 kB / 454.3 MB, free: 6.43 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001744/0.4511, allocations: 1.008 MB / 455.3 MB, free: 5.434 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/0.4512, allocations: 8.031 kB / 455.3 MB, free: 5.426 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.4514, allocations: 106.8 kB / 455.4 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.452, allocations: 450.1 kB / 455.8 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.452, allocations: 28 kB / 455.8 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.4522, allocations: 56 kB / 455.9 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008605/0.453, allocations: 491.6 kB / 456.4 MB, free: 4.531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.4543, allocations: 0.6988 MB / 457.1 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.4543, allocations: 0 / 457.1 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.928e-05/0.4544, allocations: 4 kB / 457.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.4544, allocations: 24 kB / 457.1 MB, free: 3.973 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/0.4586, allocations: 2.844 MB / 460 MB, free: 1.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.4589, allocations: 263.6 kB / 460.2 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.4592, allocations: 247.1 kB / 460.4 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.4592, allocations: 8 kB / 460.5 MB, free: 1.211 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.4593, allocations: 37.75 kB / 460.5 MB, free: 1.168 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.4593, allocations: 0 / 460.5 MB, free: 1.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006767/0.46, allocations: 370.5 kB / 460.9 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.46, allocations: 55.41 kB / 460.9 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.4604, allocations: 406.5 kB / 461.3 MB, free: 500 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.4605, allocations: 29.7 kB / 461.3 MB, free: 464 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.4607, allocations: 489.1 kB / 461.8 MB, free: 52 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.4609, allocations: 151.8 kB / 462 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.4609, allocations: 0 / 462 MB, free: 15.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.461, allocations: 364 kB / 462.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.4612, allocations: 144.4 kB / 462.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.4616, allocations: 411.3 kB / 462.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.4619, allocations: 213.2 kB / 463.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.4619, allocations: 4 kB / 463.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009239/0.4629, allocations: 0.6408 MB / 463.7 MB, free: 14.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4629, allocations: 8 kB / 463.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.4629, allocations: 8 kB / 463.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.4632, allocations: 85.47 kB / 463.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.4638, allocations: 202 kB / 464 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.4654, allocations: 1.746 MB / 465.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.4659, allocations: 71.02 kB / 465.8 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.466, allocations: 31.69 kB / 465.9 MB, free: 12.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.4661, allocations: 131.9 kB / 466 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000543/0.4667, allocations: 366.7 kB / 466.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.4668, allocations: 55.34 kB / 466.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.689e-05/0.4669, allocations: 60.95 kB / 466.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4669, allocations: 4 kB / 466.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4669, allocations: 7.953 kB / 466.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4669, allocations: 0 / 466.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000621/0.4675, allocations: 0.5291 MB / 467 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4675, allocations: 4 kB / 467 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/0.468, allocations: 107.2 kB / 467.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001863/0.4682, allocations: 70.98 kB / 467.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4682, allocations: 0 / 467.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.4696, allocations: 1.725 MB / 468.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4696, allocations: 8.422 kB / 468.9 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/0.4703, allocations: 0.5877 MB / 469.5 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4705, allocations: 136.2 kB / 469.6 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.4705, allocations: 3.984 kB / 469.6 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.4709, allocations: 47.91 kB / 469.7 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.471, allocations: 23.53 kB / 469.7 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.471, allocations: 23.06 kB / 469.7 MB, free: 8.867 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002861/0.4713, allocations: 299.9 kB / 470 MB, free: 8.648 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4713, allocations: 0 / 470 MB, free: 8.648 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007896/0.4721, allocations: 227.1 kB / 470.2 MB, free: 8.426 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/0.4732, allocations: 1.141 MB / 471.4 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009206/0.4742, allocations: 0.5181 MB / 471.9 MB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4742, allocations: 320 / 471.9 MB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003821/0.4746, allocations: 296.3 kB / 472.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.475, allocations: 75 kB / 472.3 MB, free: 6.688 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.4773, allocations: 1.179 MB / 473.4 MB, free: 5.539 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/0.4779, allocations: 0.9413 MB / 474.4 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003048/0.4782, allocations: 68.88 kB / 474.4 MB, free: 4.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.4785, allocations: 259.9 kB / 474.7 MB, free: 4.438 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4785, allocations: 0 / 474.7 MB, free: 4.438 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.5107, allocations: 10.46 MB / 485.2 MB, free: 9.969 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/0.5111, allocations: 149.7 kB / 485.3 MB, free: 9.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.668, allocations: 0 / 485.3 MB, free: 9.77 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat