Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 177.1 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.5 MB / 230.3 MB, free: 7.547 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008262/0.0008262, allocations: 97.41 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.666e-05, allocations: 0 / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 50.41 MB / 387.5 MB, free: 7.477 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3519/0.4621, allocations: 86.1 MB / 473.7 MB, free: 8.594 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003977/0.4626, allocations: 75.95 kB / 473.7 MB, free: 8.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1074/0.5701, allocations: 32.21 MB / 0.4941 GB, free: 8.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5701, allocations: 3.938 kB / 0.4941 GB, free: 8.148 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.00016/0.5703, allocations: 59.94 kB / 0.4941 GB, free: 8.09 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.006303/0.5766, allocations: 1.964 MB / 0.4961 GB, free: 6.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.5767, allocations: 8.031 kB / 0.4961 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.5779, allocations: 265.1 kB / 0.4963 GB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/0.5811, allocations: 1.246 MB / 0.4975 GB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.5812, allocations: 79.98 kB / 0.4976 GB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004346/0.5816, allocations: 131.9 kB / 0.4977 GB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005146/0.5868, allocations: 1.762 MB / 0.4995 GB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006533/0.5934, allocations: 2.368 MB / 0.5018 GB, free: 20 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.713e-05/0.5935, allocations: 0 / 0.5018 GB, free: 20 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.5938, allocations: 7.953 kB / 0.5018 GB, free: 12 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.5939, allocations: 52.05 kB / 0.5018 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01578/0.6097, allocations: 7.288 MB / 0.5089 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.6108, allocations: 1.224 MB / 0.5101 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008792/0.6117, allocations: 0.579 MB / 0.5107 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-05/0.6118, allocations: 8.562 kB / 0.5107 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.6118, allocations: 43.12 kB / 0.5108 GB, free: 6.477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 2.835e-06/0.6119, allocations: 0 / 0.5108 GB, free: 6.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.003441/0.6153, allocations: 1.986 MB / 0.5127 GB, free: 4.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.6154, allocations: 55.97 kB / 0.5128 GB, free: 4.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008237/0.6162, allocations: 0.644 MB / 0.5134 GB, free: 3.711 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.6163, allocations: 29.7 kB / 0.5134 GB, free: 3.676 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005877/0.6168, allocations: 0.9253 MB / 0.5143 GB, free: 2.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.617, allocations: 212.9 kB / 0.5145 GB, free: 2.523 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.6171, allocations: 0 / 0.5145 GB, free: 2.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.6173, allocations: 390.7 kB / 0.5149 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.6177, allocations: 341.9 kB / 0.5152 GB, free: 1.797 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/0.6183, allocations: 0.5472 MB / 0.5157 GB, free: 1.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.6189, allocations: 433.8 kB / 0.5162 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6189, allocations: 4 kB / 0.5162 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001547/0.6205, allocations: 1.042 MB / 0.5172 GB, free: 15.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.6205, allocations: 9.406 kB / 0.5172 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.6205, allocations: 8 kB / 0.5172 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.6208, allocations: 104.8 kB / 0.5173 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/0.6215, allocations: 179.7 kB / 0.5175 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.6236, allocations: 2.056 MB / 0.5195 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.6242, allocations: 31.92 kB / 0.5195 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.04e-05/0.6243, allocations: 35.98 kB / 0.5195 GB, free: 13.14 MB / 410.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.0001712/0.6244, allocations: 126.6 kB / 0.5197 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001247/0.6257, allocations: 0.7956 MB / 0.5204 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.6259, allocations: 79 kB / 0.5205 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.6272, allocations: 0.8433 MB / 0.5213 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.6273, allocations: 12 kB / 0.5214 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6273, allocations: 0 / 0.5214 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.6273, allocations: 7.938 kB / 0.5214 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/0.6312, allocations: 2.296 MB / 0.5236 GB, free: 8.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.6313, allocations: 12.09 kB / 0.5236 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.6317, allocations: 111.8 kB / 0.5237 GB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.632, allocations: 92.8 kB / 0.5238 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.632, allocations: 8.172 kB / 0.5238 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.6339, allocations: 2.009 MB / 0.5258 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.634, allocations: 96 / 0.5258 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.6358, allocations: 1.404 MB / 0.5271 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.6362, allocations: 220.1 kB / 0.5274 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/0.6363, allocations: 4 kB / 0.5274 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.6367, allocations: 40.02 kB / 0.5274 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.6369, allocations: 48.42 kB / 0.5274 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.6369, allocations: 20 kB / 0.5275 GB, free: 4.723 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006337/0.6376, allocations: 0.4952 MB / 0.5279 GB, free: 4.234 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6376, allocations: 4 kB / 0.528 GB, free: 4.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001155/0.6387, allocations: 287.9 kB / 0.5282 GB, free: 3.949 MB / 410.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.002462/0.6412, allocations: 2.324 MB / 0.5305 GB, free: 1.562 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.6428, allocations: 0.9799 MB / 0.5315 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.6428, allocations: 4 kB / 0.5315 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007902/0.6436, allocations: 0.5776 MB / 0.532 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.6447, allocations: 187.3 kB / 0.5322 GB, free: 15.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005932/0.6507, allocations: 2.995 MB / 0.5351 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.6523, allocations: 1.759 MB / 0.5368 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006645/0.653, allocations: 194.8 kB / 0.537 GB, free: 10.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/0.6538, allocations: 0.636 MB / 0.5376 GB, free: 10.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6538, allocations: 0 / 0.5376 GB, free: 10.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2747/0.9285, allocations: 20.93 MB / 0.5581 GB, free: 116.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001346/0.9287, allocations: 146.3 kB / 0.5582 GB, free: 116.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.224, allocations: 0 / 0.5582 GB, free: 116.1 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat