Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_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.001163/0.001163, allocations: 180.5 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.277/1.277, allocations: 205.4 MB / 223.1 MB, free: 9.035 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.0008228/0.0008228, allocations: 96.09 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002489/0.0002487, allocations: 4 kB / 328.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.214, allocations: 47.56 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09966/0.3137, allocations: 91.78 MB / 467.7 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.3139, allocations: 87.95 kB / 467.8 MB, free: 4.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9237/1.238, allocations: 305.4 MB / 0.7551 GB, free: 32.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.238, allocations: 0 / 0.7551 GB, free: 32.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005241/1.238, allocations: 198.6 kB / 0.7553 GB, free: 32.48 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.02735/1.266, allocations: 8.256 MB / 0.7633 GB, free: 24.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.266, allocations: 8.031 kB / 0.7633 GB, free: 24.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004902/1.271, allocations: 1.332 MB / 0.7646 GB, free: 22.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01937/1.29, allocations: 3.906 MB / 0.7684 GB, free: 18.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/1.303, allocations: 5.392 MB / 0.7737 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009386/1.304, allocations: 0.677 MB / 0.7744 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003615/1.308, allocations: 0.8658 MB / 0.7752 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03669/1.344, allocations: 15.35 MB / 0.7902 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004315/1.345, allocations: 7.906 kB / 0.7902 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003288/1.348, allocations: 382.9 kB / 0.7906 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007671/1.349, allocations: 0.5885 MB / 0.7912 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4153/1.764, allocations: 12.92 MB / 0.8038 GB, free: 51.39 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07529/1.839, allocations: 47.81 MB / 0.8505 GB, free: 46.71 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/1.852, allocations: 9.687 MB / 0.8599 GB, free: 43.05 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03896/1.891, allocations: 20.98 MB / 0.8804 GB, free: 33.2 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.354e-05/1.891, allocations: 93.16 kB / 0.8805 GB, free: 33.12 MB / 426.8 MB Notification: Performance of pre-optimization done (n=711): time 1.266e-05/1.891, allocations: 3 kB / 0.8805 GB, free: 33.12 MB / 426.8 MB Notification: Performance of matching and sorting (n=711): time 0.04557/1.936, allocations: 28.35 MB / 0.9082 GB, free: 16.39 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/1.936, allocations: 106.6 kB / 0.9083 GB, free: 16.32 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/1.939, allocations: 1.752 MB / 0.91 GB, free: 15.69 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001118/1.94, allocations: 115.5 kB / 0.9101 GB, free: 15.59 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/1.942, allocations: 3.033 MB / 0.9131 GB, free: 13.34 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002673/1.944, allocations: 2.338 MB / 0.9154 GB, free: 11.53 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009802/1.945, allocations: 114.2 kB / 0.9155 GB, free: 11.44 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0005935/1.946, allocations: 0.5896 MB / 0.916 GB, free: 11.01 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00686/1.953, allocations: 4.628 MB / 0.9206 GB, free: 9.18 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006913/1.96, allocations: 5.85 MB / 0.9263 GB, free: 4.695 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007816/1.968, allocations: 5.651 MB / 0.9318 GB, free: 15.91 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-05/1.968, allocations: 16 kB / 0.9318 GB, free: 15.89 MB / 442.8 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.02075/1.988, allocations: 13.21 MB / 0.9447 GB, free: 4.418 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/1.989, allocations: 26.53 kB / 0.9447 GB, free: 4.395 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-05/1.989, allocations: 32 kB / 0.9448 GB, free: 4.363 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005665/1.994, allocations: 3.719 MB / 0.9484 GB, free: 1.223 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003929/1.998, allocations: 1.033 MB / 0.9494 GB, free: 448 kB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009103/2.007, allocations: 9.208 MB / 0.9584 GB, free: 7.988 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004286/2.012, allocations: 0.7073 MB / 0.9591 GB, free: 7.355 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/2.013, allocations: 275.1 kB / 0.9593 GB, free: 7.109 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * 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 (570): * Single equations (assignments): 479 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 85 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.00707/2.02, allocations: 3.42 MB / 0.9627 GB, free: 4.316 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/2.021, allocations: 359 kB / 0.963 GB, free: 3.965 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2502/2.272, allocations: 13.27 MB / 0.976 GB, free: 82.88 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01585/2.288, allocations: 11.57 MB / 0.9873 GB, free: 82.61 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/2.288, allocations: 0.5312 kB / 0.9873 GB, free: 82.61 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.159e-05/2.288, allocations: 26.62 kB / 0.9873 GB, free: 82.61 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03809/2.326, allocations: 24.5 MB / 1.011 GB, free: 81.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-05/2.326, allocations: 0 / 1.011 GB, free: 81.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003058/2.329, allocations: 0.7099 MB / 1.012 GB, free: 81.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005139/2.334, allocations: 3.677 MB / 1.016 GB, free: 81.82 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009686/2.335, allocations: 146.6 kB / 1.016 GB, free: 81.82 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007654/2.343, allocations: 9.146 MB / 1.025 GB, free: 78.08 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/2.343, allocations: 0 / 1.025 GB, free: 78.08 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02624/2.369, allocations: 19.01 MB / 1.043 GB, free: 69.89 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004525/2.374, allocations: 1.489 MB / 1.045 GB, free: 69.16 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001926/2.376, allocations: 94.23 kB / 1.045 GB, free: 69.09 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/2.379, allocations: 252.8 kB / 1.045 GB, free: 69.02 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001555/2.38, allocations: 0.528 MB / 1.045 GB, free: 68.91 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009712/2.381, allocations: 180.2 kB / 1.046 GB, free: 68.86 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002039/2.383, allocations: 1.312 MB / 1.047 GB, free: 68.38 MB / 458.8 MB Notification: Performance of sort global known variables: time 3.11e-07/2.383, allocations: 0 / 1.047 GB, free: 68.38 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006436/2.39, allocations: 2.163 MB / 1.049 GB, free: 67.95 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (currentQuasiRMSSensor.currentSensor[1].pin_p.reference.gamma) * 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 (403): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 85 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.02623/2.416, allocations: 19.83 MB / 1.068 GB, free: 55.17 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01761/2.434, allocations: 11.04 MB / 1.079 GB, free: 45.68 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/2.434, allocations: 0 / 1.079 GB, free: 45.68 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00936/2.443, allocations: 5.605 MB / 1.085 GB, free: 40.9 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004156/2.447, allocations: 0.6143 MB / 1.085 GB, free: 40.43 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2664/2.714, allocations: 72.31 MB / 1.156 GB, free: 97.09 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005076/2.719, allocations: 6.152 MB / 1.162 GB, free: 96.21 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003798/2.723, allocations: 1.301 MB / 1.163 GB, free: 96.17 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003363/2.726, allocations: 2.827 MB / 1.166 GB, free: 96.16 MB / 474.8 MB Notification: Performance of SimCode: time 8.62e-07/2.726, allocations: 0 / 1.166 GB, free: 96.16 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3985/3.125, allocations: 158.2 MB / 1.32 GB, free: 72.73 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/3.125, allocations: 240.3 kB / 1.321 GB, free: 72.48 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.511/7.636, allocations: 3.188 kB / 1.321 GB, free: 72.48 MB / 474.8 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat