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.001082/0.001082, allocations: 99.2 kB / 16.94 MB, free: 5.984 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.001275/0.001275, allocations: 176.4 kB / 17.82 MB, free: 5.652 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.364/1.364, 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.0004698/0.00047, allocations: 16 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1005, allocations: 47.57 MB / 328.4 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.005204/0.1057, allocations: 4.869 MB / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.1086, allocations: 1.621 MB / 334.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005073/0.1091, allocations: 39.81 kB / 334.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.1096, allocations: 246.5 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008885/0.1105, allocations: 295.1 kB / 335.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.111, allocations: 227.7 kB / 335.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.1125, allocations: 1.276 MB / 337 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.1146, allocations: 1.848 MB / 338.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007951/0.1154, allocations: 0.6889 MB / 339.5 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009533/0.1163, allocations: 0.805 MB / 340.3 MB, free: 8.039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.1165, allocations: 128 kB / 340.4 MB, free: 7.914 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004601/0.117, allocations: 243.8 kB / 340.7 MB, free: 7.676 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004349/0.1174, allocations: 498.4 kB / 341.2 MB, free: 7.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000437/0.1179, allocations: 432.6 kB / 341.6 MB, free: 6.758 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.1205, allocations: 3.039 MB / 344.6 MB, free: 3.711 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1205, allocations: 3.938 kB / 344.6 MB, free: 3.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1205, allocations: 0 / 344.6 MB, free: 3.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.448e-05/0.1205, allocations: 0 / 344.6 MB, free: 3.707 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.003788/0.1243, allocations: 2.091 MB / 346.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.1244, allocations: 12.03 kB / 346.7 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004065/0.1248, allocations: 328.7 kB / 347.1 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005376/0.1254, allocations: 237.2 kB / 347.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/0.1272, allocations: 1.15 MB / 348.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.1273, allocations: 168.5 kB / 348.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.1276, allocations: 220 kB / 348.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004004/0.1316, allocations: 2.506 MB / 351.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/0.1317, allocations: 4 kB / 351.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.1319, allocations: 88 kB / 351.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-05/0.1319, allocations: 59.98 kB / 351.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003521/0.1355, allocations: 2.134 MB / 353.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.1472, allocations: 7.647 MB / 361.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.1485, allocations: 1.257 MB / 362.5 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.1485, allocations: 8.562 kB / 362.5 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1486, allocations: 43.08 kB / 362.6 MB, free: 1.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 3.056e-06/0.1486, allocations: 0 / 362.6 MB, free: 1.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=64): time 0.003873/0.1524, allocations: 2.595 MB / 365.2 MB, free: 14.53 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1525, allocations: 59.91 kB / 365.2 MB, free: 14.46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009155/0.1534, allocations: 0.7893 MB / 366 MB, free: 13.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.1535, allocations: 37.7 kB / 366 MB, free: 13.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000574/0.1541, allocations: 0.9176 MB / 367 MB, free: 12.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.1542, allocations: 216.8 kB / 367.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.1543, allocations: 16 kB / 367.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.1545, allocations: 394.8 kB / 367.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/0.1551, allocations: 369.8 kB / 367.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/0.1558, allocations: 0.5868 MB / 368.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006425/0.1564, allocations: 461.9 kB / 369 MB, free: 10.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1564, allocations: 4 kB / 369 MB, free: 10.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001756/0.1582, allocations: 1.139 MB / 370.1 MB, free: 9.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.1582, allocations: 16.08 kB / 370.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.1583, allocations: 11.94 kB / 370.1 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/0.1585, allocations: 84.8 kB / 370.2 MB, free: 9.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.1592, allocations: 179.7 kB / 370.4 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.1611, allocations: 1.951 MB / 372.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.1616, allocations: 51.98 kB / 372.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.1616, allocations: 28 kB / 372.4 MB, free: 6.957 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 (91): * Single equations (assignments): 88 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009631/0.1626, allocations: 0.6419 MB / 373.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.1627, allocations: 86.98 kB / 373.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.1629, allocations: 99.56 kB / 373.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.1629, allocations: 8 kB / 373.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.163, allocations: 0 / 373.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.163, allocations: 7.984 kB / 373.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004095/0.1671, allocations: 2.64 MB / 375.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1671, allocations: 0 / 375.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.1676, allocations: 107.9 kB / 376 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.1677, allocations: 72.8 kB / 376.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.1678, allocations: 19.98 kB / 376.1 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.1695, allocations: 1.913 MB / 378 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.1695, allocations: 7.938 kB / 378 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1913/0.3609, allocations: 1.419 MB / 379.4 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006406/0.3615, allocations: 225.6 kB / 379.7 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.3617, allocations: 13.17 kB / 379.7 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.3621, allocations: 49.56 kB / 379.7 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.3623, allocations: 41.69 kB / 379.8 MB, free: 49.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/0.3624, allocations: 17.5 kB / 379.8 MB, free: 49.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009204/0.3633, allocations: 0.5565 MB / 380.3 MB, free: 49.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.92e-07/0.3633, allocations: 1.375 kB / 380.3 MB, free: 49.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001358/0.3647, allocations: 301.5 kB / 380.6 MB, free: 49.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (56): * Single equations (assignments): 53 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003062/0.3677, allocations: 2.138 MB / 382.8 MB, free: 48.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.3696, allocations: 0.9957 MB / 383.8 MB, free: 48.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.3696, allocations: 3.609 kB / 383.8 MB, free: 48.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.3706, allocations: 0.5433 MB / 384.3 MB, free: 48.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.3717, allocations: 201.3 kB / 384.5 MB, free: 48.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.3856, allocations: 12.52 MB / 397 MB, free: 39.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.3869, allocations: 1.757 MB / 398.8 MB, free: 38.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006794/0.3876, allocations: 207.9 kB / 399 MB, free: 38.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006379/0.3883, allocations: 0.6447 MB / 399.6 MB, free: 37.99 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3883, allocations: 0 / 399.6 MB, free: 37.99 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.4233, allocations: 22.08 MB / 421.7 MB, free: 19.8 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.4235, allocations: 200.8 kB / 421.9 MB, free: 19.56 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.418, allocations: 3.938 kB / 421.9 MB, free: 19.55 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