Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001999/0.001999, allocations: 202.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009599/0.00096, allocations: 95.16 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.417e-05/2.399e-05, allocations: 0 / 343.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 51.47 MB / 395.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3734/0.5015, allocations: 96.26 MB / 491.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.5018, allocations: 86.11 kB / 491.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.144/1.646, allocations: 315.3 MB / 0.788 GB, free: 40.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.646, allocations: 1.375 kB / 0.788 GB, free: 40.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009842/1.647, allocations: 191.6 kB / 0.7882 GB, free: 40.52 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.02965/1.677, allocations: 7.817 MB / 0.7958 GB, free: 38.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.677, allocations: 10.09 kB / 0.7958 GB, free: 38.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/1.692, allocations: 2.596 MB / 0.7983 GB, free: 37.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/1.706, allocations: 5.525 MB / 0.8037 GB, free: 37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007555/1.707, allocations: 280.9 kB / 0.804 GB, free: 37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003835/1.711, allocations: 499.2 kB / 0.8045 GB, free: 37 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0223/1.733, allocations: 9.793 MB / 0.814 GB, free: 36.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03285/1.766, allocations: 12.11 MB / 0.8259 GB, free: 35.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003819/1.766, allocations: 14.66 kB / 0.8259 GB, free: 35.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003198/1.77, allocations: 7.031 kB / 0.8259 GB, free: 35.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000641/1.77, allocations: 0.6118 MB / 0.8265 GB, free: 35.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07016/1.84, allocations: 42.6 MB / 0.8681 GB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009818/1.85, allocations: 10.59 MB / 0.8784 GB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/1.853, allocations: 1.704 MB / 0.8801 GB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/1.853, allocations: 213.6 kB / 0.8803 GB, free: 2.926 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.853, allocations: 55.31 kB / 0.8803 GB, free: 2.871 MB / 442.7 MB Notification: Performance of pre-optimization done (n=233): time 5.019e-06/1.853, allocations: 4 kB / 0.8803 GB, free: 2.867 MB / 442.7 MB Notification: Performance of matching and sorting (n=233): time 0.008218/1.862, allocations: 3.791 MB / 0.884 GB, free: 1.551 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/1.862, allocations: 73.41 kB / 0.8841 GB, free: 1.465 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004175/1.866, allocations: 2.475 MB / 0.8865 GB, free: 15.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002848/1.866, allocations: 25.7 kB / 0.8866 GB, free: 15.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003052/1.869, allocations: 3.819 MB / 0.8903 GB, free: 11.87 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009958/1.87, allocations: 0.7921 MB / 0.8911 GB, free: 11.15 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.87, allocations: 3.938 kB / 0.8911 GB, free: 11.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003317/1.871, allocations: 0.4989 MB / 0.8916 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003006/1.874, allocations: 1.959 MB / 0.8935 GB, free: 8.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004624/1.878, allocations: 4.106 MB / 0.8975 GB, free: 4.141 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008295/1.887, allocations: 3.834 MB / 0.9012 GB, free: 1.086 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.966e-05/1.887, allocations: 20 kB / 0.9012 GB, free: 1.066 MB / 458.7 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.01558/1.902, allocations: 6.943 MB / 0.908 GB, free: 11.19 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.41e-05/1.903, allocations: 37.56 kB / 0.9081 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.903, allocations: 76 kB / 0.9081 GB, free: 11.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/1.904, allocations: 452.2 kB / 0.9086 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004195/1.908, allocations: 1.074 MB / 0.9096 GB, free: 9.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/1.914, allocations: 4.288 MB / 0.9138 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004833/1.919, allocations: 0.5474 MB / 0.9143 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/1.92, allocations: 248.8 kB / 0.9146 GB, free: 5.141 MB / 474.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.0007809/1.92, allocations: 289 kB / 0.9148 GB, free: 4.852 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008551/1.929, allocations: 3.798 MB / 0.9186 GB, free: 1.715 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006666/1.93, allocations: 272.2 kB / 0.9188 GB, free: 1.449 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3071/2.237, allocations: 4.487 MB / 0.9232 GB, free: 68.03 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006669/2.243, allocations: 3.621 MB / 0.9267 GB, free: 67.94 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/2.244, allocations: 12.27 kB / 0.9267 GB, free: 67.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/2.244, allocations: 9.891 kB / 0.9267 GB, free: 67.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02495/2.269, allocations: 9.663 MB / 0.9362 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/2.269, allocations: 2.281 kB / 0.9362 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00262/2.271, allocations: 439.6 kB / 0.9366 GB, free: 67.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/2.272, allocations: 310.6 kB / 0.9369 GB, free: 67.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/2.273, allocations: 22.55 kB / 0.9369 GB, free: 67.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005557/2.278, allocations: 3.749 MB / 0.9406 GB, free: 65.97 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/2.278, allocations: 7.5 kB / 0.9406 GB, free: 65.97 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/2.292, allocations: 6.137 MB / 0.9466 GB, free: 65.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/2.294, allocations: 0.6529 MB / 0.9472 GB, free: 65.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003779/2.294, allocations: 4.688 kB / 0.9472 GB, free: 65.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/2.295, allocations: 111.6 kB / 0.9473 GB, free: 65.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/2.296, allocations: 148 kB / 0.9475 GB, free: 65.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/2.296, allocations: 70.34 kB / 0.9475 GB, free: 65.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002573/2.298, allocations: 1.786 MB / 0.9493 GB, free: 65.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.81e-07/2.298, allocations: 0 / 0.9493 GB, free: 65.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006109/2.304, allocations: 1.865 MB / 0.9511 GB, free: 64.84 MB / 474.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.01266/2.317, allocations: 7.099 MB / 0.958 GB, free: 63.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007253/2.324, allocations: 4.58 MB / 0.9625 GB, free: 63.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/2.324, allocations: 3.906 kB / 0.9625 GB, free: 63.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002818/2.327, allocations: 1.783 MB / 0.9643 GB, free: 63.15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/2.33, allocations: 0.5682 MB / 0.9648 GB, free: 63.13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03187/2.362, allocations: 13.34 MB / 0.9778 GB, free: 60.83 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007285/2.37, allocations: 5.794 MB / 0.9835 GB, free: 59.96 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004545/2.374, allocations: 1.698 MB / 0.9852 GB, free: 59.89 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004548/2.379, allocations: 2.683 MB / 0.9878 GB, free: 59.88 MB / 474.7 MB Notification: Performance of SimCode: time 1.442e-06/2.379, allocations: 0 / 0.9878 GB, free: 59.88 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1278/2.507, allocations: 87.06 MB / 1.073 GB, free: 18.41 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/2.507, allocations: 149 kB / 1.073 GB, free: 18.22 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/6.151, allocations: 3.234 kB / 1.073 GB, free: 18.22 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat