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.00156/0.00156, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.394/1.394, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0008524/0.0008524, allocations: 90.64 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.788e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.09901, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3423/0.4413, allocations: 84.77 MB / 454.9 MB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.4417, allocations: 76.28 kB / 455 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07939/0.5211, allocations: 31.69 MB / 486.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5211, allocations: 4 kB / 486.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001103/0.5213, allocations: 55.94 kB / 486.7 MB, free: 10.06 MB / 362.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.003909/0.5252, allocations: 1.964 MB / 488.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.5252, allocations: 12.03 kB / 488.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004359/0.5257, allocations: 324.7 kB / 489 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000692/0.5264, allocations: 265.1 kB / 489.3 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.5285, allocations: 1.246 MB / 490.5 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.5287, allocations: 168.5 kB / 490.7 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.529, allocations: 227.9 kB / 490.9 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004362/0.5334, allocations: 2.697 MB / 493.6 MB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.5334, allocations: 0 / 493.6 MB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/0.5337, allocations: 104 kB / 493.7 MB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.5337, allocations: 52 kB / 493.7 MB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/0.537, allocations: 1.884 MB / 495.6 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.5488, allocations: 7.722 MB / 0.4915 GB, free: 8.918 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.55, allocations: 1.245 MB / 0.4928 GB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009451/0.551, allocations: 0.5907 MB / 0.4933 GB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.35e-05/0.551, allocations: 8.562 kB / 0.4933 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.5511, allocations: 35.12 kB / 0.4934 GB, free: 6.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.515e-06/0.5511, allocations: 4 kB / 0.4934 GB, free: 6.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.003404/0.5545, allocations: 2.099 MB / 0.4954 GB, free: 4.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.5546, allocations: 55.97 kB / 0.4955 GB, free: 4.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/0.5555, allocations: 0.7067 MB / 0.4962 GB, free: 3.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.5555, allocations: 37.7 kB / 0.4962 GB, free: 3.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005515/0.5561, allocations: 0.906 MB / 0.4971 GB, free: 2.973 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.5563, allocations: 228.7 kB / 0.4973 GB, free: 2.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.5563, allocations: 16 kB / 0.4973 GB, free: 2.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5565, allocations: 390.7 kB / 0.4977 GB, free: 2.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.557, allocations: 349.6 kB / 0.498 GB, free: 2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/0.5576, allocations: 0.5664 MB / 0.4986 GB, free: 1.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006155/0.5582, allocations: 454.9 kB / 0.499 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5583, allocations: 4 kB / 0.499 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001653/0.5599, allocations: 1.115 MB / 0.5001 GB, free: 15.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.56, allocations: 8.562 kB / 0.5001 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.56, allocations: 11.98 kB / 0.5001 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.5603, allocations: 112.7 kB / 0.5002 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/0.5609, allocations: 175.7 kB / 0.5004 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.5631, allocations: 2.142 MB / 0.5025 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.5636, allocations: 39.97 kB / 0.5025 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/0.5637, allocations: 35.98 kB / 0.5026 GB, free: 13.1 MB / 394.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.0001617/0.5639, allocations: 152.7 kB / 0.5027 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.564, allocations: 82.97 kB / 0.5028 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.5654, allocations: 0.9058 MB / 0.5037 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.5655, allocations: 4 kB / 0.5037 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5655, allocations: 7.984 kB / 0.5037 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5655, allocations: 0 / 0.5037 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/0.5698, allocations: 2.677 MB / 0.5063 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.5699, allocations: 8.156 kB / 0.5063 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.5703, allocations: 111.9 kB / 0.5064 GB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/0.5706, allocations: 96.72 kB / 0.5065 GB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.5706, allocations: 12 kB / 0.5065 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.5727, allocations: 2.088 MB / 0.5086 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5728, allocations: 4.031 kB / 0.5086 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.5749, allocations: 1.443 MB / 0.51 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004801/0.5754, allocations: 232.1 kB / 0.5102 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/0.5755, allocations: 19.95 kB / 0.5102 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.5759, allocations: 51.89 kB / 0.5103 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.5761, allocations: 48.44 kB / 0.5103 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.5761, allocations: 16 kB / 0.5103 GB, free: 4.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007711/0.5769, allocations: 0.5499 MB / 0.5109 GB, free: 4.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5769, allocations: 0 / 0.5109 GB, free: 4.285 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001209/0.5781, allocations: 308 kB / 0.5112 GB, free: 3.984 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.0027/0.5808, allocations: 2.379 MB / 0.5135 GB, free: 1.539 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.5825, allocations: 1.033 MB / 0.5145 GB, free: 492 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5825, allocations: 4 kB / 0.5145 GB, free: 488 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008981/0.5834, allocations: 0.5985 MB / 0.5151 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.5845, allocations: 203.8 kB / 0.5153 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/0.5901, allocations: 3.052 MB / 0.5183 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/0.5917, allocations: 1.759 MB / 0.52 GB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006699/0.5924, allocations: 195 kB / 0.5202 GB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008105/0.5932, allocations: 0.636 MB / 0.5208 GB, free: 9.914 MB / 410.7 MB Notification: Performance of SimCode: time 1.733e-06/0.5932, allocations: 4 kB / 0.5208 GB, free: 9.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2476/0.8408, allocations: 22.46 MB / 0.5427 GB, free: 112.8 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.8411, allocations: 175 kB / 0.5429 GB, free: 112.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.257, allocations: 0 / 0.5429 GB, free: 112.6 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