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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009707/0.0009707, allocations: 98.58 kB / 16.95 MB, free: 6.453 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.001124/0.001124, allocations: 183.7 kB / 17.84 MB, free: 6.004 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.519/1.519, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004998/0.0005001, allocations: 16 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1009, allocations: 47.57 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007149/0.1081, allocations: 4.941 MB / 333.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003446/0.1116, allocations: 1.17 MB / 334.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007599/0.1125, allocations: 20 kB / 334.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.1129, allocations: 127 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007827/0.1137, allocations: 234.1 kB / 334.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.1143, allocations: 159.8 kB / 335.1 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.1156, allocations: 0.9817 MB / 336.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008127/0.1165, allocations: 404.2 kB / 336.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005304/0.117, allocations: 334.8 kB / 336.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.1176, allocations: 394.2 kB / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.1178, allocations: 48 kB / 337.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1179, allocations: 52 kB / 337.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.1181, allocations: 155.4 kB / 337.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.1184, allocations: 197.2 kB / 337.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009336/0.1193, allocations: 0.8063 MB / 338.4 MB, free: 9.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1193, allocations: 0 / 338.4 MB, free: 9.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1194, allocations: 0 / 338.4 MB, free: 9.941 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1194, allocations: 4 kB / 338.4 MB, free: 9.938 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002337/0.1217, allocations: 1.087 MB / 339.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/0.1218, allocations: 8.031 kB / 339.5 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002169/0.122, allocations: 147.9 kB / 339.7 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.1222, allocations: 110.8 kB / 339.8 MB, free: 8.527 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008037/0.1231, allocations: 442.1 kB / 340.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.1231, allocations: 66 kB / 340.3 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.1233, allocations: 99.91 kB / 340.4 MB, free: 7.895 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.1253, allocations: 0.8596 MB / 341.2 MB, free: 7.008 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.1254, allocations: 4 kB / 341.2 MB, free: 7.004 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.1255, allocations: 40 kB / 341.3 MB, free: 6.965 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.1255, allocations: 24 kB / 341.3 MB, free: 6.941 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.127, allocations: 0.5661 MB / 341.9 MB, free: 6.379 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006023/0.1331, allocations: 2.984 MB / 344.8 MB, free: 3.273 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.1338, allocations: 302.4 kB / 345.1 MB, free: 2.969 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.1344, allocations: 272.7 kB / 345.4 MB, free: 2.699 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.1344, allocations: 4 kB / 345.4 MB, free: 2.695 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.1345, allocations: 46.48 kB / 345.5 MB, free: 2.641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 3.407e-06/0.1345, allocations: 4 kB / 345.5 MB, free: 2.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.002062/0.1366, allocations: 0.6588 MB / 346.1 MB, free: 1.949 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1366, allocations: 59.41 kB / 346.2 MB, free: 1.879 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/0.1375, allocations: 0.5063 MB / 346.7 MB, free: 1.363 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.1376, allocations: 33.7 kB / 346.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004379/0.138, allocations: 489.6 kB / 347.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.1382, allocations: 153.8 kB / 347.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.1382, allocations: 16 kB / 347.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1384, allocations: 366.7 kB / 347.7 MB, free: 308 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.1389, allocations: 173.9 kB / 347.9 MB, free: 136 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007287/0.1396, allocations: 453.6 kB / 348.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/0.1403, allocations: 242 kB / 348.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.1403, allocations: 0 / 348.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001919/0.1423, allocations: 0.7533 MB / 349.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.1423, allocations: 8 kB / 349.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.1423, allocations: 8 kB / 349.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004343/0.1428, allocations: 92.91 kB / 349.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009359/0.1437, allocations: 195.7 kB / 349.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/0.1462, allocations: 1.811 MB / 351.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008013/0.1471, allocations: 91.12 kB / 351.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/0.1472, allocations: 32 kB / 351.5 MB, free: 12.2 MB / 302.1 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 () * Number of clocked 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.0004772/0.1476, allocations: 209.6 kB / 351.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.1478, allocations: 63.33 kB / 351.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.148, allocations: 61.5 kB / 351.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.148, allocations: 4 kB / 351.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.1481, allocations: 4 kB / 351.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.1481, allocations: 11.88 kB / 351.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.1493, allocations: 0.6414 MB / 352.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1493, allocations: 0 / 352.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.1499, allocations: 107.9 kB / 352.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/0.1502, allocations: 68.8 kB / 352.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.1503, allocations: 12 kB / 352.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/0.1526, allocations: 1.792 MB / 354.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1527, allocations: 4.031 kB / 354.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.154, allocations: 0.6696 MB / 355.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.1542, allocations: 136.4 kB / 355.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.1543, allocations: 4 kB / 355.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.1547, allocations: 55.97 kB / 355.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.1548, allocations: 31.91 kB / 355.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.1548, allocations: 12.12 kB / 355.4 MB, free: 8.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004427/0.1553, allocations: 346.9 kB / 355.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1553, allocations: 0 / 355.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009871/0.1563, allocations: 247.2 kB / 356 MB, free: 7.512 MB / 302.1 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 () * Number of clocked 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.001461/0.1578, allocations: 1.21 MB / 357.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.1589, allocations: 0.5962 MB / 357.8 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1589, allocations: 4 kB / 357.8 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.1594, allocations: 316.1 kB / 358.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.1601, allocations: 118.2 kB / 358.2 MB, free: 5.223 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.1657, allocations: 3.838 MB / 362.1 MB, free: 1.191 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.1663, allocations: 0.9299 MB / 363 MB, free: 240 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000349/0.1667, allocations: 73.14 kB / 363.1 MB, free: 168 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.167, allocations: 259.4 kB / 363.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of SimCode: time 1.323e-06/0.167, allocations: 0 / 363.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.1948, allocations: 11.81 MB / 375.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.195, allocations: 218.3 kB / 375.3 MB, free: 3.84 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/2.335, allocations: 0 / 375.3 MB, free: 3.84 MB / 318.1 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) Environment - environmentSimulation: 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