Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 95.19 kB / 16.94 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 188.7 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004494, allocations: 19.44 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08706/0.08752, allocations: 47.58 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002435/0.09, allocations: 2.214 MB / 330.6 MB, free: 1.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008806/0.0909, allocations: 0.6479 MB / 331.3 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.09103, allocations: 12 kB / 331.3 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.035e-05/0.0911, allocations: 39.69 kB / 331.3 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.09129, allocations: 87.78 kB / 331.4 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.09146, allocations: 63.86 kB / 331.5 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.09172, allocations: 232 kB / 331.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.09192, allocations: 114.1 kB / 331.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.09203, allocations: 99.64 kB / 331.9 MB, free: 492 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.09219, allocations: 127.5 kB / 332 MB, free: 364 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.09224, allocations: 16 kB / 332.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.116e-05/0.09228, allocations: 20 kB / 332.1 MB, free: 328 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.09234, allocations: 59.75 kB / 332.1 MB, free: 268 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.0924, allocations: 73.58 kB / 332.2 MB, free: 188 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.09262, allocations: 259.5 kB / 332.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.09263, allocations: 0 / 332.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09264, allocations: 0 / 332.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.09265, allocations: 0 / 332.5 MB, free: 15.93 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007464/0.0934, allocations: 0.5496 MB / 333 MB, free: 15.33 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.09345, allocations: 8.031 kB / 333 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.388e-05/0.09352, allocations: 70.47 kB / 333.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.09358, allocations: 31.66 kB / 333.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.09382, allocations: 254.5 kB / 333.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.09385, allocations: 20.56 kB / 333.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.0939, allocations: 24 kB / 333.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.09429, allocations: 260.8 kB / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.09431, allocations: 0 / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.09434, allocations: 12 kB / 333.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.09436, allocations: 4 kB / 333.7 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.09467, allocations: 186.2 kB / 333.9 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.09602, allocations: 1.025 MB / 334.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.09638, allocations: 333.4 kB / 335.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.0964, allocations: 192 / 335.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.09643, allocations: 38.75 kB / 335.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.012e-06/0.09644, allocations: 0 / 335.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001306/0.09775, allocations: 0.7736 MB / 336 MB, free: 12.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.0978, allocations: 55.41 kB / 336.1 MB, free: 12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.09796, allocations: 202.2 kB / 336.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.09799, allocations: 29.7 kB / 336.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.09808, allocations: 172.2 kB / 336.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.09815, allocations: 94.58 kB / 336.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.09816, allocations: 8 kB / 336.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.09827, allocations: 330.8 kB / 336.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.0984, allocations: 72.53 kB / 337 MB, free: 11.08 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.09855, allocations: 102.8 kB / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.0987, allocations: 87.97 kB / 337.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.09871, allocations: 0 / 337.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000475/0.09919, allocations: 318.1 kB / 337.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.09922, allocations: 4 kB / 337.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.09923, allocations: 11.94 kB / 337.5 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.09947, allocations: 80.81 kB / 337.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.09966, allocations: 43.98 kB / 337.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.1014, allocations: 1.928 MB / 339.5 MB, free: 8.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1015, allocations: 12.03 kB / 339.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1015, allocations: 12 kB / 339.6 MB, free: 8.344 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.1017, allocations: 141.7 kB / 339.7 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.1017, allocations: 15.81 kB / 339.7 MB, free: 8.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.1018, allocations: 33.92 kB / 339.7 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1018, allocations: 4 kB / 339.7 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.1018, allocations: 0 / 339.7 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1018, allocations: 0 / 339.7 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009439/0.1027, allocations: 0.7528 MB / 340.5 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1027, allocations: 0 / 340.5 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.1029, allocations: 43.92 kB / 340.5 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001778/0.1031, allocations: 72.8 kB / 340.6 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1031, allocations: 3.984 kB / 340.6 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.1046, allocations: 1.816 MB / 342.4 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1046, allocations: 0 / 342.4 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.1052, allocations: 467.8 kB / 342.9 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.1053, allocations: 96.81 kB / 343 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.1054, allocations: 8.062 kB / 343 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1055, allocations: 19.94 kB / 343 MB, free: 4.645 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.1056, allocations: 19.97 kB / 343 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1056, allocations: 12 kB / 343 MB, free: 4.613 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1057, allocations: 144.3 kB / 343.2 MB, free: 4.473 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1057, allocations: 0 / 343.2 MB, free: 4.473 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004181/0.1062, allocations: 76 kB / 343.3 MB, free: 4.398 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.0008995/0.1071, allocations: 0.9982 MB / 344.3 MB, free: 3.371 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006962/0.1078, allocations: 374.4 kB / 344.6 MB, free: 2.992 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1078, allocations: 0 / 344.6 MB, free: 2.992 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.1082, allocations: 258.5 kB / 344.9 MB, free: 2.727 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.1085, allocations: 36 kB / 344.9 MB, free: 2.691 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.1109, allocations: 1.932 MB / 346.8 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1112, allocations: 0.7713 MB / 347.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.216e-05/0.1113, allocations: 18.28 kB / 347.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1114, allocations: 83.97 kB / 347.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1114, allocations: 0 / 347.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.1282, allocations: 5.137 MB / 352.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.1284, allocations: 204.7 kB / 353 MB, free: 10.44 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/1.918, allocations: 0 / 353 MB, free: 10.44 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat