Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.MulitSensorTest,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_MulitSensorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.MulitSensorTest,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_MulitSensorTest",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.001147/0.001147, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.844/1.844, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008556/0.0008556, allocations: 87.73 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4664/0.4664, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.507e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1334, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4682/0.6017, allocations: 108.7 MB / 0.579 GB, free: 13.06 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.602, allocations: 70.64 kB / 0.5791 GB, free: 13.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6166/1.219, allocations: 131.9 MB / 0.7079 GB, free: 92.15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.492e-06/1.219, allocations: 0 / 0.7079 GB, free: 92.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003403/1.219, allocations: 107.5 kB / 0.708 GB, free: 92.14 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1296 * Number of variables: 1296 Notification: Performance of Generate backend data structure: time 0.01567/1.235, allocations: 4.631 MB / 0.7125 GB, free: 90.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.235, allocations: 9.844 kB / 0.7125 GB, free: 90.49 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002666/1.237, allocations: 0.6715 MB / 0.7132 GB, free: 90.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/1.252, allocations: 2.433 MB / 0.7156 GB, free: 90.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008543/1.26, allocations: 2.883 MB / 0.7184 GB, free: 89.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004363/1.261, allocations: 359.1 kB / 0.7187 GB, free: 89.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002036/1.263, allocations: 470.5 kB / 0.7192 GB, free: 89.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/1.281, allocations: 7.419 MB / 0.7264 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001618/1.281, allocations: 14.53 kB / 0.7264 GB, free: 89.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007005/1.282, allocations: 197.1 kB / 0.7266 GB, free: 89.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002891/1.282, allocations: 306.1 kB / 0.7269 GB, free: 89.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/1.295, allocations: 6.657 MB / 0.7334 GB, free: 89.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05018/1.345, allocations: 22.72 MB / 0.7556 GB, free: 82.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008664/1.354, allocations: 7.283 MB / 0.7627 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003831/1.358, allocations: 3.004 MB / 0.7656 GB, free: 76.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/1.358, allocations: 165.7 kB / 0.7658 GB, free: 76.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003852/1.362, allocations: 3.109 MB / 0.7688 GB, free: 74.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=414): time 5.831e-06/1.362, allocations: 0 / 0.7688 GB, free: 74.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=414): time 0.007846/1.37, allocations: 5.724 MB / 0.7744 GB, free: 72.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/1.37, allocations: 471.4 kB / 0.7749 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/1.372, allocations: 1.439 MB / 0.7763 GB, free: 71.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003089/1.373, allocations: 104.4 kB / 0.7764 GB, free: 71.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/1.374, allocations: 1.662 MB / 0.778 GB, free: 70.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.375, allocations: 1.369 MB / 0.7793 GB, free: 69.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/1.375, allocations: 75.34 kB / 0.7794 GB, free: 69.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.375, allocations: 478.9 kB / 0.7799 GB, free: 68.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/1.378, allocations: 2.252 MB / 0.7821 GB, free: 68.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/1.382, allocations: 3.082 MB / 0.7851 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/1.385, allocations: 2.748 MB / 0.7877 GB, free: 65.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.038e-05/1.385, allocations: 11.11 kB / 0.7878 GB, free: 65.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=526) (initialization): time 0.008841/1.394, allocations: 6.56 MB / 0.7942 GB, free: 62.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/1.394, allocations: 11.44 kB / 0.7942 GB, free: 62.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.182e-05/1.394, allocations: 22.81 kB / 0.7942 GB, free: 62.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/1.397, allocations: 1.408 MB / 0.7956 GB, free: 62.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003729/1.401, allocations: 0.7538 MB / 0.7963 GB, free: 62.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004242/1.405, allocations: 4.598 MB / 0.8008 GB, free: 59.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003612/1.408, allocations: 473.4 kB / 0.8013 GB, free: 58.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006458/1.409, allocations: 167.2 kB / 0.8014 GB, free: 58.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.meanpowerA.y,meanpowerA.y,$whenCondition12,$whenCondition11,$whenCondition10,$PRE.rmsiA.mean.y,rmsiA.mean.y,$PRE.rmsvA.mean.y,rmsvA.mean.y,$PRE.meanpowerM[1].y,meanpowerM[1].y,$PRE.meanpowerM[2].y,meanpowerM[2].y,$PRE.meanpowerM[3].y,meanpowerM[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rmsiM[3].mean.y,rmsiM[3].mean.y,$PRE.rmsiM[2].mean.y,rmsiM[2].mean.y,$PRE.rmsiM[1].mean.y,rmsiM[1].mean.y,$PRE.rmsvM[3].mean.y,rmsvM[3].mean.y,$PRE.rmsvM[2].mean.y,rmsvM[2].mean.y,$PRE.rmsvM[1].mean.y,rmsvM[1].mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (415): * Single equations (assignments): 394 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 2 {6 9,6 45} Notification: Performance of prepare postOptimizeDAE: time 0.00117/1.41, allocations: 351.2 kB / 0.8017 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008558/1.411, allocations: 246.4 kB / 0.802 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009285/1.42, allocations: 5.652 MB / 0.8075 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.18e-05/1.421, allocations: 82.25 kB / 0.8076 GB, free: 56.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/1.421, allocations: 3.875 kB / 0.8076 GB, free: 56.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.425e-05/1.421, allocations: 25.75 kB / 0.8076 GB, free: 56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/1.442, allocations: 12.52 MB / 0.8198 GB, free: 49.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/1.442, allocations: 0 / 0.8198 GB, free: 49.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/1.444, allocations: 0.5843 MB / 0.8204 GB, free: 49.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/1.447, allocations: 1.378 MB / 0.8217 GB, free: 48.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007767/1.448, allocations: 101.3 kB / 0.8218 GB, free: 48.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004036/1.452, allocations: 4.564 MB / 0.8263 GB, free: 43.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.452, allocations: 3.938 kB / 0.8263 GB, free: 43.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/1.467, allocations: 9.711 MB / 0.8358 GB, free: 34.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.468, allocations: 403 kB / 0.8362 GB, free: 34.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/1.47, allocations: 99.67 kB / 0.8363 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002706/1.472, allocations: 211.8 kB / 0.8365 GB, free: 34.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008219/1.473, allocations: 287.3 kB / 0.8367 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005343/1.474, allocations: 122.8 kB / 0.8369 GB, free: 34.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002016/1.476, allocations: 1.096 MB / 0.8379 GB, free: 33.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/1.476, allocations: 0 / 0.8379 GB, free: 33.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005029/1.481, allocations: 1.268 MB / 0.8392 GB, free: 31.81 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 18 (inductorQS.pin_p.reference.gamma,sineVoltageQM.plug_p.reference.gamma,inductorM.inductor[1].i,inductorM.inductor[2].i,inductorM.inductor[3].i,rmsvM[1].mean.x,rmsvM[2].mean.x,rmsvM[3].mean.x,rmsiM[1].mean.x,rmsiM[2].mean.x,rmsiM[3].mean.x,meanpowerM[1].x,meanpowerM[2].x,meanpowerM[3].x,inductorA.i,rmsvA.mean.x,rmsiA.mean.x,meanpowerA.x) * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rmsvM[1].mean.y,rmsvM[2].mean.y,rmsvM[3].mean.y,rmsiM[1].mean.y,rmsiM[2].mean.y,rmsiM[3].mean.y,meanpowerM[1].y,meanpowerM[2].y,meanpowerM[3].y,$whenCondition12,$whenCondition11,$whenCondition10,rmsvA.mean.y,rmsiA.mean.y,meanpowerA.y) * Number of discrete states: 12 (meanpowerA.x,rmsiA.mean.x,rmsvA.mean.x,rmsvM[1].mean.x,rmsvM[2].mean.x,rmsvM[3].mean.x,rmsiM[1].mean.x,rmsiM[2].mean.x,rmsiM[3].mean.x,meanpowerM[1].x,meanpowerM[2].x,meanpowerM[3].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (322): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 2 {6 9,6 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.01629/1.497, allocations: 10.96 MB / 0.8499 GB, free: 21.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009842/1.507, allocations: 5.638 MB / 0.8554 GB, free: 16.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.998e-06/1.507, allocations: 0 / 0.8554 GB, free: 16.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005524/1.513, allocations: 2.979 MB / 0.8583 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/1.516, allocations: 405.5 kB / 0.8587 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02827/1.544, allocations: 10.22 MB / 0.8687 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005802/1.55, allocations: 3.458 MB / 0.872 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004098/1.554, allocations: 0.9383 MB / 0.8729 GB, free: 1.758 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003372/1.558, allocations: 1.666 MB / 0.8746 GB, free: 224 kB / 0.4948 GB Notification: Performance of SimCode: time 1.392e-06/1.558, allocations: 0 / 0.8746 GB, free: 224 kB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4984/2.056, allocations: 81.56 MB / 0.9542 GB, free: 93.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/2.056, allocations: 174.6 kB / 0.9544 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.508/6.565, allocations: 0 / 0.9544 GB, free: 92.97 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_MulitSensorTest_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_MulitSensorTest.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.MulitSensorTest_res.mat does not exist to compare? outputFormat=mat