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.0009928/0.0009928, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008571/0.000857, allocations: 94.36 kB / 262.4 MB, free: 1.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.155e-05, allocations: 7.984 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 47.57 MB / 363.2 MB, free: 6.98 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3341/0.4357, allocations: 84.34 MB / 447.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.436, allocations: 79.61 kB / 447.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07392/0.5099, allocations: 31.39 MB / 479 MB, free: 1.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.5099, allocations: 0 / 479 MB, free: 1.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001159/0.5101, allocations: 55.94 kB / 479 MB, free: 1.496 MB / 346.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.004072/0.5142, allocations: 1.954 MB / 481 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.5142, allocations: 12.03 kB / 481 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007785/0.515, allocations: 257.2 kB / 481.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.5172, allocations: 1.244 MB / 482.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-05/0.5173, allocations: 75.98 kB / 482.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002648/0.5176, allocations: 135.9 kB / 482.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003132/0.5207, allocations: 1.766 MB / 484.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004015/0.5248, allocations: 2.368 MB / 486.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.5248, allocations: 3.984 kB / 486.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.525, allocations: 8 kB / 486.8 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.275e-05/0.5251, allocations: 56 kB / 486.9 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.5371, allocations: 7.296 MB / 494.2 MB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.5382, allocations: 1.22 MB / 495.4 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008542/0.5391, allocations: 0.5751 MB / 496 MB, free: 124 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.595e-05/0.5392, allocations: 8.562 kB / 496 MB, free: 116 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.5392, allocations: 39.12 kB / 496 MB, free: 68 kB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 3.136e-06/0.5392, allocations: 0 / 496 MB, free: 68 kB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.003681/0.5429, allocations: 2.001 MB / 498 MB, free: 14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.543, allocations: 55.97 kB / 498.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009039/0.5439, allocations: 0.6441 MB / 498.7 MB, free: 13.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.544, allocations: 25.7 kB / 498.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006328/0.5446, allocations: 0.9137 MB / 499.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.5448, allocations: 224.7 kB / 499.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.5448, allocations: 0 / 499.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.5451, allocations: 394.7 kB / 0.4885 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.5455, allocations: 333.9 kB / 0.4889 GB, free: 11.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.5462, allocations: 0.5436 MB / 0.4894 GB, free: 10.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.5468, allocations: 441.8 kB / 0.4898 GB, free: 10.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.5469, allocations: 7.938 kB / 0.4898 GB, free: 10.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00162/0.5485, allocations: 1.038 MB / 0.4908 GB, free: 9.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.5485, allocations: 8 kB / 0.4908 GB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.5486, allocations: 12.03 kB / 0.4908 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/0.5488, allocations: 104.8 kB / 0.4909 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.5496, allocations: 175.7 kB / 0.4911 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.5517, allocations: 2.06 MB / 0.4931 GB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/0.5523, allocations: 24.03 kB / 0.4931 GB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.668e-05/0.5524, allocations: 40 kB / 0.4932 GB, free: 6.723 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.5525, allocations: 124.7 kB / 0.4933 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001248/0.5538, allocations: 0.7839 MB / 0.4941 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.554, allocations: 90.95 kB / 0.4942 GB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.5553, allocations: 0.8551 MB / 0.495 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5554, allocations: 4 kB / 0.495 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5554, allocations: 4 kB / 0.495 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.5554, allocations: 3.984 kB / 0.495 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/0.5591, allocations: 2.311 MB / 0.4973 GB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.5592, allocations: 0 / 0.4973 GB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000484/0.5597, allocations: 115.8 kB / 0.4974 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.5599, allocations: 100.9 kB / 0.4975 GB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.56, allocations: 4 kB / 0.4975 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.5618, allocations: 2.001 MB / 0.4994 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.5618, allocations: 4.125 kB / 0.4994 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.5637, allocations: 1.397 MB / 0.5008 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.564, allocations: 228 kB / 0.501 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/0.5641, allocations: 4 kB / 0.501 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.5645, allocations: 44.08 kB / 0.5011 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.5647, allocations: 56.33 kB / 0.5011 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.5647, allocations: 23.98 kB / 0.5011 GB, free: 14.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006628/0.5654, allocations: 0.4913 MB / 0.5016 GB, free: 13.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5654, allocations: 0 / 0.5016 GB, free: 13.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001117/0.5665, allocations: 283.9 kB / 0.5019 GB, free: 13.52 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002268/0.5688, allocations: 2.316 MB / 0.5041 GB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.5703, allocations: 0.9903 MB / 0.5051 GB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5703, allocations: 0 / 0.5051 GB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007889/0.5711, allocations: 0.5826 MB / 0.5057 GB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.5722, allocations: 187.5 kB / 0.5059 GB, free: 9.336 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005733/0.5779, allocations: 2.991 MB / 0.5088 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/0.5796, allocations: 1.759 MB / 0.5105 GB, free: 4.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006938/0.5803, allocations: 194.8 kB / 0.5107 GB, free: 4.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/0.5811, allocations: 0.6321 MB / 0.5113 GB, free: 3.652 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5811, allocations: 4 kB / 0.5113 GB, free: 3.648 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2403/0.8214, allocations: 20.95 MB / 0.5318 GB, free: 111.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.8216, allocations: 144.2 kB / 0.5319 GB, free: 110.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.139, allocations: 0.9375 kB / 0.5319 GB, free: 110.9 MB / 410.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