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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 223.1 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008052/0.0008053, allocations: 90.61 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003336, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2252, allocations: 47.57 MB / 375.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09151/0.3168, allocations: 84.84 MB / 460.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.3171, allocations: 79.97 kB / 460.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07475/0.3919, allocations: 31.62 MB / 492.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3919, allocations: 4 kB / 492.5 MB, free: 11.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001346/0.3921, allocations: 55.94 kB / 492.5 MB, free: 11.87 MB / 378.7 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.005021/0.3971, allocations: 2.087 MB / 494.6 MB, free: 9.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3972, allocations: 11.97 kB / 494.6 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008069/0.398, allocations: 332.7 kB / 494.9 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008887/0.3989, allocations: 257.2 kB / 495.2 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.4016, allocations: 1.254 MB / 496.4 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.4018, allocations: 168.5 kB / 496.6 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003234/0.4021, allocations: 220 kB / 496.8 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003992/0.4061, allocations: 2.76 MB / 499.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.4062, allocations: 0 / 499.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.4064, allocations: 96 kB / 499.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/0.4064, allocations: 52 kB / 499.7 MB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002956/0.4094, allocations: 1.958 MB / 0.4899 GB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1746/0.584, allocations: 7.719 MB / 0.4975 GB, free: 89.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/0.5851, allocations: 1.272 MB / 0.4987 GB, free: 89.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.5851, allocations: 9.312 kB / 0.4987 GB, free: 89.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.5852, allocations: 40.06 kB / 0.4988 GB, free: 89.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.665e-06/0.5852, allocations: 0 / 0.4988 GB, free: 89.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.003968/0.5891, allocations: 2.624 MB / 0.5013 GB, free: 88.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.5892, allocations: 60.47 kB / 0.5014 GB, free: 88.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009009/0.5901, allocations: 0.7104 MB / 0.5021 GB, free: 88.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.5901, allocations: 35.11 kB / 0.5021 GB, free: 88.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/0.5906, allocations: 0.9177 MB / 0.503 GB, free: 87.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.5907, allocations: 216.9 kB / 0.5032 GB, free: 87.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.5907, allocations: 17.25 kB / 0.5032 GB, free: 87.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.5909, allocations: 397.5 kB / 0.5036 GB, free: 87.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.5913, allocations: 376.7 kB / 0.504 GB, free: 87.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/0.5918, allocations: 0.5886 MB / 0.5045 GB, free: 87.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.5924, allocations: 476 kB / 0.505 GB, free: 87.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5924, allocations: 5.875 kB / 0.505 GB, free: 87.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001435/0.5939, allocations: 1.159 MB / 0.5061 GB, free: 87.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5939, allocations: 7.031 kB / 0.5061 GB, free: 87.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.5939, allocations: 7.625 kB / 0.5061 GB, free: 87.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.5941, allocations: 85.94 kB / 0.5062 GB, free: 87.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006309/0.5948, allocations: 185.1 kB / 0.5064 GB, free: 87.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.5961, allocations: 1.953 MB / 0.5083 GB, free: 85.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/0.5966, allocations: 43.3 kB / 0.5083 GB, free: 85.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.5966, allocations: 34.44 kB / 0.5084 GB, free: 85.72 MB / 378.7 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008441/0.5975, allocations: 0.645 MB / 0.509 GB, free: 85.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.5976, allocations: 90.06 kB / 0.5091 GB, free: 85.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.5988, allocations: 0.9364 MB / 0.51 GB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.5988, allocations: 11.12 kB / 0.51 GB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5988, allocations: 3.953 kB / 0.51 GB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5988, allocations: 6.562 kB / 0.51 GB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003574/0.6024, allocations: 2.656 MB / 0.5126 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.6024, allocations: 0 / 0.5126 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.6029, allocations: 120.5 kB / 0.5127 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001509/0.603, allocations: 78.22 kB / 0.5128 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.6031, allocations: 15.48 kB / 0.5128 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.6042, allocations: 1.911 MB / 0.5147 GB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.6042, allocations: 2.688 kB / 0.5147 GB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.6058, allocations: 1.458 MB / 0.5161 GB, free: 82.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.6061, allocations: 224.1 kB / 0.5163 GB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-05/0.6062, allocations: 11.66 kB / 0.5163 GB, free: 82.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.6066, allocations: 48.31 kB / 0.5164 GB, free: 82.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/0.6067, allocations: 51.2 kB / 0.5164 GB, free: 82.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.6067, allocations: 14.62 kB / 0.5165 GB, free: 82.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000494/0.6072, allocations: 0.5507 MB / 0.517 GB, free: 82.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6073, allocations: 0 / 0.517 GB, free: 82.19 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009373/0.6082, allocations: 318.4 kB / 0.5173 GB, free: 82.16 MB / 378.7 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0018/0.61, allocations: 2.178 MB / 0.5194 GB, free: 80.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.6112, allocations: 1.061 MB / 0.5205 GB, free: 80.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6113, allocations: 4.125 kB / 0.5205 GB, free: 80.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.6119, allocations: 0.6021 MB / 0.5211 GB, free: 80.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.6126, allocations: 193.2 kB / 0.5212 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008591/0.6212, allocations: 12.56 MB / 0.5335 GB, free: 71.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009136/0.6222, allocations: 1.752 MB / 0.5352 GB, free: 70.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005015/0.6227, allocations: 208.9 kB / 0.5354 GB, free: 70.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/0.6232, allocations: 0.6352 MB / 0.536 GB, free: 69.82 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6233, allocations: 0 / 0.536 GB, free: 69.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.6558, allocations: 22.17 MB / 0.5577 GB, free: 53.29 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/0.656, allocations: 194.2 kB / 0.5579 GB, free: 53.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.985, allocations: 0 / 0.5579 GB, free: 53.06 MB / 378.7 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) 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