Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_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.001066/0.001066, allocations: 176.4 kB / 8.346 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.298/1.298, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0008476/0.0008476, allocations: 94.06 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.966e-05, allocations: 0 / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.09397, allocations: 50.43 MB / 387.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/0.4015, allocations: 95.38 MB / 482.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.4018, allocations: 83.95 kB / 483 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9503/1.352, allocations: 298.4 MB / 0.7631 GB, free: 64.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.533e-06/1.352, allocations: 0 / 0.7631 GB, free: 64.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004464/1.353, allocations: 186.1 kB / 0.7633 GB, free: 64.41 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.02818/1.381, allocations: 7.799 MB / 0.7709 GB, free: 62.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.381, allocations: 7.281 kB / 0.7709 GB, free: 62.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/1.395, allocations: 2.593 MB / 0.7734 GB, free: 61.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/1.407, allocations: 5.521 MB / 0.7788 GB, free: 60.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004828/1.408, allocations: 284.3 kB / 0.7791 GB, free: 60.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00276/1.411, allocations: 0.5 MB / 0.7796 GB, free: 60.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01857/1.429, allocations: 9.789 MB / 0.7891 GB, free: 60.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02967/1.459, allocations: 12.11 MB / 0.801 GB, free: 55.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002226/1.459, allocations: 3.281 kB / 0.801 GB, free: 55.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001092/1.46, allocations: 7.375 kB / 0.801 GB, free: 55.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004931/1.461, allocations: 0.6109 MB / 0.8016 GB, free: 55.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06098/1.522, allocations: 42.11 MB / 0.8427 GB, free: 22.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009651/1.532, allocations: 10.59 MB / 0.853 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002567/1.534, allocations: 1.709 MB / 0.8547 GB, free: 10.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/1.534, allocations: 135.8 kB / 0.8548 GB, free: 9.879 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/1.535, allocations: 56.56 kB / 0.8549 GB, free: 9.816 MB / 442.7 MB Notification: Performance of pre-optimization done (n=233): time 5.871e-06/1.535, allocations: 4 kB / 0.8549 GB, free: 9.812 MB / 442.7 MB Notification: Performance of matching and sorting (n=233): time 0.006626/1.541, allocations: 3.539 MB / 0.8584 GB, free: 6.258 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/1.541, allocations: 77.16 kB / 0.8584 GB, free: 6.172 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003945/1.545, allocations: 2.475 MB / 0.8608 GB, free: 3.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002323/1.545, allocations: 25.7 kB / 0.8609 GB, free: 3.648 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002566/1.548, allocations: 3.826 MB / 0.8646 GB, free: 15.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008224/1.549, allocations: 0.7818 MB / 0.8654 GB, free: 14.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/1.549, allocations: 0 / 0.8654 GB, free: 14.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003209/1.549, allocations: 0.5002 MB / 0.8659 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/1.552, allocations: 1.957 MB / 0.8678 GB, free: 12.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004221/1.556, allocations: 4.103 MB / 0.8718 GB, free: 7.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005886/1.562, allocations: 3.538 MB / 0.8752 GB, free: 3.777 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.391e-05/1.562, allocations: 20 kB / 0.8752 GB, free: 3.758 MB / 458.7 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.2842/1.847, allocations: 6.65 MB / 0.8817 GB, free: 71.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/1.847, allocations: 39.12 kB / 0.8818 GB, free: 71.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001495/1.847, allocations: 74.66 kB / 0.8818 GB, free: 71.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009541/1.848, allocations: 448.5 kB / 0.8823 GB, free: 71.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/1.851, allocations: 1.079 MB / 0.8833 GB, free: 71.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004081/1.855, allocations: 4.285 MB / 0.8875 GB, free: 69.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/1.859, allocations: 0.5445 MB / 0.888 GB, free: 69.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004292/1.859, allocations: 250.8 kB / 0.8883 GB, free: 69.97 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (568): * Single equations (assignments): 563 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005516/1.86, allocations: 292.9 kB / 0.8886 GB, free: 69.87 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006532/1.866, allocations: 3.543 MB / 0.892 GB, free: 69.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005121/1.867, allocations: 272.8 kB / 0.8923 GB, free: 69.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007576/1.874, allocations: 4.025 MB / 0.8962 GB, free: 69.33 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004703/1.879, allocations: 3.37 MB / 0.8995 GB, free: 69.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.879, allocations: 4.812 kB / 0.8995 GB, free: 69.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/1.879, allocations: 17.03 kB / 0.8995 GB, free: 69.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/1.894, allocations: 9.417 MB / 0.9087 GB, free: 68.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.894, allocations: 1.406 kB / 0.9087 GB, free: 68.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.896, allocations: 440.2 kB / 0.9091 GB, free: 68.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006046/1.896, allocations: 307.8 kB / 0.9094 GB, free: 68.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/1.896, allocations: 16.91 kB / 0.9095 GB, free: 68.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/1.9, allocations: 3.754 MB / 0.9131 GB, free: 67.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.9, allocations: 0 / 0.9131 GB, free: 67.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008585/1.909, allocations: 5.885 MB / 0.9189 GB, free: 66.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/1.91, allocations: 0.6536 MB / 0.9195 GB, free: 66.35 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004294/1.911, allocations: 3.562 kB / 0.9195 GB, free: 66.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.912, allocations: 111.8 kB / 0.9196 GB, free: 66.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/1.912, allocations: 154.3 kB / 0.9198 GB, free: 66.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.912, allocations: 69.67 kB / 0.9198 GB, free: 66.35 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00252/1.915, allocations: 1.783 MB / 0.9216 GB, free: 66.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.523e-06/1.915, allocations: 3.094 kB / 0.9216 GB, free: 66.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005375/1.92, allocations: 1.865 MB / 0.9234 GB, free: 65.92 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (currentQuasiRMSSensor.currentSensor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007967/1.928, allocations: 6.846 MB / 0.9301 GB, free: 64.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006653/1.935, allocations: 4.58 MB / 0.9346 GB, free: 64.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.935, allocations: 4 kB / 0.9346 GB, free: 64.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002109/1.937, allocations: 1.783 MB / 0.9363 GB, free: 64.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/1.94, allocations: 0.5739 MB / 0.9369 GB, free: 64.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02578/1.966, allocations: 13.34 MB / 0.9499 GB, free: 61.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005741/1.972, allocations: 5.793 MB / 0.9555 GB, free: 60.58 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004325/1.976, allocations: 1.699 MB / 0.9572 GB, free: 60.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003557/1.98, allocations: 2.68 MB / 0.9598 GB, free: 58.16 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/1.98, allocations: 2.719 kB / 0.9598 GB, free: 58.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/2.105, allocations: 87.17 MB / 1.045 GB, free: 13 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/2.105, allocations: 157.3 kB / 1.045 GB, free: 12.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.468/5.573, allocations: 0 / 1.045 GB, free: 12.8 MB / 474.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat