Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_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.001466/0.001465, allocations: 97.77 kB / 16.3 MB, free: 5.57 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.001665/0.001665, allocations: 183.9 kB / 17.2 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.2 MB / 241.1 MB, free: 372 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003403, allocations: 8 kB / 300.8 MB, free: 6.352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1318, allocations: 50.42 MB / 351.2 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01704/0.1489, allocations: 13.27 MB / 364.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.1597, allocations: 3.832 MB / 368.3 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/0.1638, allocations: 123.6 kB / 368.5 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003615/0.1674, allocations: 0.7458 MB / 369.2 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005854/0.1733, allocations: 1.231 MB / 370.4 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2172/0.3905, allocations: 0.7995 MB / 371.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009804/0.4004, allocations: 5.399 MB / 376.6 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03577/0.4362, allocations: 18.11 MB / 394.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006381/0.4426, allocations: 3.03 MB / 397.8 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006126/0.4487, allocations: 3.397 MB / 401.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002043/0.4508, allocations: 0.543 MB / 401.7 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004567/0.4554, allocations: 0.7418 MB / 402.5 MB, free: 2.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001852/0.4573, allocations: 1.472 MB / 403.9 MB, free: 1.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004661/0.4619, allocations: 1.794 MB / 405.7 MB, free: 15.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01699/0.4789, allocations: 15.49 MB / 421.2 MB, free: 108 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.479, allocations: 0 / 421.2 MB, free: 108 kB / 318.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.479, allocations: 0 / 421.2 MB, free: 108 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005994/0.4796, allocations: 0 / 421.2 MB, free: 108 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02788/0.5075, allocations: 8.592 MB / 429.8 MB, free: 7.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.5076, allocations: 12.02 kB / 429.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005488/0.5131, allocations: 1.29 MB / 431.1 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02005/0.5331, allocations: 3.63 MB / 434.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.5461, allocations: 5.117 MB / 439.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008209/0.5469, allocations: 0.6824 MB / 440.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003437/0.5504, allocations: 0.8827 MB / 441.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03645/0.5869, allocations: 12.6 MB / 454 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004283/0.5873, allocations: 7.906 kB / 454 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002924/0.5903, allocations: 376 kB / 454.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004754/0.5908, allocations: 403 kB / 454.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02665/0.6174, allocations: 11.36 MB / 466.1 MB, free: 3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08396/0.7014, allocations: 43.79 MB / 0.498 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/0.7138, allocations: 10.53 MB / 0.5083 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003898/0.7142, allocations: 143 kB / 0.5084 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.7143, allocations: 60.5 kB / 0.5085 GB, free: 9.957 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 7.474e-06/0.7144, allocations: 3.938 kB / 0.5085 GB, free: 9.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=229): time 0.009346/0.7237, allocations: 5.112 MB / 0.5135 GB, free: 4.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.7238, allocations: 73.41 kB / 0.5135 GB, free: 4.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004645/0.7284, allocations: 2.91 MB / 0.5164 GB, free: 1.727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004317/0.7289, allocations: 61.7 kB / 0.5164 GB, free: 1.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002663/0.7316, allocations: 3.822 MB / 0.5202 GB, free: 13.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.7327, allocations: 0.8131 MB / 0.5209 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.7329, allocations: 92 kB / 0.521 GB, free: 12.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000301/0.7332, allocations: 0.4923 MB / 0.5215 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00358/0.7368, allocations: 2.008 MB / 0.5235 GB, free: 10.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004978/0.7418, allocations: 4.164 MB / 0.5275 GB, free: 5.133 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004809/0.7466, allocations: 3.045 MB / 0.5305 GB, free: 2.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.932e-05/0.7467, allocations: 20 kB / 0.5305 GB, free: 2.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=598) (initialization): time 0.4218/1.168, allocations: 6.562 MB / 0.5369 GB, free: 128.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.232e-05/1.169, allocations: 37.12 kB / 0.537 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/1.169, allocations: 74.77 kB / 0.5371 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/1.17, allocations: 413.3 kB / 0.5374 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003999/1.174, allocations: 1.063 MB / 0.5385 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00504/1.179, allocations: 4.168 MB / 0.5426 GB, free: 127.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003626/1.183, allocations: 0.6209 MB / 0.5432 GB, free: 126.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007108/1.183, allocations: 245.3 kB / 0.5434 GB, free: 126.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * 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 (569): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006189/1.189, allocations: 3.37 MB / 0.5467 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007024/1.19, allocations: 273.6 kB / 0.5469 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005644/1.196, allocations: 3.689 MB / 0.5505 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004009/1.2, allocations: 2.892 MB / 0.5534 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/1.2, allocations: 3.969 kB / 0.5534 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/1.2, allocations: 14.36 kB / 0.5534 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/1.215, allocations: 10.04 MB / 0.5632 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/1.215, allocations: 0 / 0.5632 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/1.216, allocations: 413.5 kB / 0.5636 GB, free: 118.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006131/1.217, allocations: 307.5 kB / 0.5639 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.217, allocations: 47.47 kB / 0.5639 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/1.221, allocations: 3.982 MB / 0.5678 GB, free: 116.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.221, allocations: 3.875 kB / 0.5678 GB, free: 116.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005808/1.226, allocations: 5.245 MB / 0.5729 GB, free: 113.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/1.228, allocations: 0.6267 MB / 0.5736 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/1.228, allocations: 35.81 kB / 0.5736 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.229, allocations: 141.5 kB / 0.5737 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/1.229, allocations: 140.4 kB / 0.5739 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.229, allocations: 65.36 kB / 0.5739 GB, free: 113.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002635/1.232, allocations: 1.935 MB / 0.5758 GB, free: 112.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.232, allocations: 0 / 0.5758 GB, free: 112.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005145/1.237, allocations: 1.959 MB / 0.5777 GB, free: 110.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (216): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0064/1.244, allocations: 5.97 MB / 0.5836 GB, free: 105.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006137/1.25, allocations: 4.697 MB / 0.5881 GB, free: 101.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/1.25, allocations: 4 kB / 0.5881 GB, free: 101.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001942/1.252, allocations: 1.781 MB / 0.5899 GB, free: 99.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/1.255, allocations: 0.6147 MB / 0.5905 GB, free: 98.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05401/1.309, allocations: 84.69 MB / 0.6732 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005493/1.314, allocations: 5.774 MB / 0.6788 GB, free: 5.762 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003695/1.318, allocations: 1.698 MB / 0.6805 GB, free: 4.059 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002827/1.321, allocations: 2.729 MB / 0.6832 GB, free: 1.332 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/1.321, allocations: 3.938 kB / 0.6832 GB, free: 1.328 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3112/1.632, allocations: 87.39 MB / 0.7685 GB, free: 96.45 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/1.632, allocations: 233.2 kB / 0.7687 GB, free: 96.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/4.792, allocations: 0 / 0.7687 GB, free: 96.2 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat