Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors",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.0008492/0.0008492, allocations: 96.94 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.0007961/0.0007961, allocations: 184 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.701/1.701, allocations: 205.4 MB / 224 MB, free: 13.14 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.0005921/0.0005922, allocations: 15.44 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1207, allocations: 47.57 MB / 328.4 MB, free: 3.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007843/0.1286, allocations: 5.128 MB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004391/0.133, allocations: 1.578 MB / 335.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.1344, allocations: 35.81 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.1355, allocations: 234.3 kB / 335.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.1374, allocations: 298.3 kB / 335.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1385, allocations: 227.7 kB / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003279/0.1418, allocations: 1.989 MB / 337.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004109/0.1459, allocations: 1.856 MB / 339.8 MB, free: 8.574 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.1475, allocations: 0.7005 MB / 340.5 MB, free: 7.871 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.1496, allocations: 0.8828 MB / 341.4 MB, free: 6.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004854/0.1501, allocations: 124 kB / 341.5 MB, free: 6.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.1512, allocations: 247.8 kB / 341.7 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008573/0.152, allocations: 0.4945 MB / 342.2 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009571/0.153, allocations: 432.6 kB / 342.6 MB, free: 5.695 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004369/0.1574, allocations: 3.039 MB / 345.7 MB, free: 2.648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/0.1574, allocations: 3.938 kB / 345.7 MB, free: 2.645 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1574, allocations: 3.938 kB / 345.7 MB, free: 2.641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001516/0.1576, allocations: 0 / 345.7 MB, free: 2.641 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006532/0.1641, allocations: 2.091 MB / 347.8 MB, free: 500 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.1642, allocations: 12.03 kB / 347.8 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001132/0.1654, allocations: 324.7 kB / 348.1 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.1666, allocations: 245.2 kB / 348.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.1699, allocations: 1.146 MB / 349.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.1701, allocations: 176.5 kB / 349.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007736/0.1709, allocations: 216 kB / 349.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005955/0.1769, allocations: 2.526 MB / 352.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.013e-05/0.1769, allocations: 0 / 352.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.1771, allocations: 92 kB / 352.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.356e-05/0.1772, allocations: 59.98 kB / 352.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004164/0.1814, allocations: 2.134 MB / 354.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/0.1936, allocations: 7.635 MB / 362.3 MB, free: 1.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.1949, allocations: 1.265 MB / 363.6 MB, free: 200 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009427/0.1959, allocations: 0.6258 MB / 364.2 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.196, allocations: 8.516 kB / 364.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.196, allocations: 39.12 kB / 364.3 MB, free: 15.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 3.237e-06/0.196, allocations: 0 / 364.3 MB, free: 15.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004339/0.2004, allocations: 2.459 MB / 366.7 MB, free: 12.99 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.2004, allocations: 63.95 kB / 366.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.2016, allocations: 0.7894 MB / 367.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.2017, allocations: 37.64 kB / 367.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006141/0.2023, allocations: 0.9098 MB / 368.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.2025, allocations: 232.7 kB / 368.7 MB, free: 10.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.2025, allocations: 16 kB / 368.8 MB, free: 10.9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.2027, allocations: 386.8 kB / 369.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005693/0.2033, allocations: 377.7 kB / 369.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/0.204, allocations: 0.579 MB / 370.1 MB, free: 9.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006899/0.2047, allocations: 473.8 kB / 370.5 MB, free: 9.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.2047, allocations: 4 kB / 370.5 MB, free: 9.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001843/0.2066, allocations: 1.147 MB / 371.7 MB, free: 7.848 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.2066, allocations: 8 kB / 371.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.2066, allocations: 11.95 kB / 371.7 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003276/0.207, allocations: 116.8 kB / 371.8 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.2076, allocations: 171.7 kB / 372 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.2099, allocations: 2.127 MB / 374.1 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.2104, allocations: 51.95 kB / 374.2 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.2104, allocations: 39.98 kB / 374.2 MB, free: 5.191 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 86 * Array equations: 2 * 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.001112/0.2115, allocations: 0.6496 MB / 374.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.2117, allocations: 82.97 kB / 374.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.2119, allocations: 99.55 kB / 375 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.212, allocations: 15.98 kB / 375.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.212, allocations: 4 kB / 375.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.212, allocations: 0 / 375.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/0.2165, allocations: 2.677 MB / 377.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2165, allocations: 0 / 377.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.217, allocations: 120 kB / 377.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002353/0.2172, allocations: 96.78 kB / 377.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.2173, allocations: 27.92 kB / 378 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2219/0.4392, allocations: 2.067 MB / 380 MB, free: 48.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4392, allocations: 5.578 kB / 380 MB, free: 48.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002358/0.4416, allocations: 1.434 MB / 381.5 MB, free: 48.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/0.4421, allocations: 224.1 kB / 381.7 MB, free: 48.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.4422, allocations: 16.05 kB / 381.7 MB, free: 48.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.4426, allocations: 49.78 kB / 381.8 MB, free: 48.38 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.4428, allocations: 46.91 kB / 381.8 MB, free: 48.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.4429, allocations: 18.97 kB / 381.8 MB, free: 48.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008812/0.4437, allocations: 0.555 MB / 382.4 MB, free: 48.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4438, allocations: 3.844 kB / 382.4 MB, free: 48.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001221/0.445, allocations: 298.5 kB / 382.7 MB, free: 48.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].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 (55): * Single equations (assignments): 52 * Array equations: 2 * 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.002539/0.4475, allocations: 2.013 MB / 384.7 MB, free: 47.49 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001836/0.4494, allocations: 1.009 MB / 385.7 MB, free: 47.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4494, allocations: 1.125 kB / 385.7 MB, free: 47.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009061/0.4503, allocations: 0.5608 MB / 386.3 MB, free: 46.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.4515, allocations: 213.8 kB / 386.5 MB, free: 46.79 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.4636, allocations: 8.106 MB / 394.6 MB, free: 42.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.4651, allocations: 1.725 MB / 396.3 MB, free: 41.72 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000697/0.4658, allocations: 205.8 kB / 396.5 MB, free: 41.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006646/0.4665, allocations: 0.6373 MB / 397.1 MB, free: 41.15 MB / 318.1 MB Notification: Performance of SimCode: time 1.292e-06/0.4665, allocations: 0 / 397.1 MB, free: 41.15 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05817/0.5247, allocations: 22.19 MB / 419.3 MB, free: 21.87 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/0.525, allocations: 202 kB / 419.5 MB, free: 21.63 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.309/2.834, allocations: 0 / 419.5 MB, free: 21.63 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat