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.001035/0.001035, allocations: 174.9 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 221.3 MB / 235.5 MB, free: 2.926 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.0008469/0.0008469, allocations: 90.06 kB / 286.5 MB, free: 252 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.634e-05, allocations: 4 kB / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 50.41 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3066/0.417, allocations: 96.04 MB / 490.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4173, allocations: 87.94 kB / 490.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012/1.429, allocations: 301.4 MB / 0.7733 GB, free: 56.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/1.429, allocations: 0 / 0.7733 GB, free: 56.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006413/1.43, allocations: 189.4 kB / 0.7735 GB, free: 56.39 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.03065/1.46, allocations: 7.804 MB / 0.7811 GB, free: 54.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.46, allocations: 10.75 kB / 0.7811 GB, free: 54.07 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005353/1.466, allocations: 1.262 MB / 0.7823 GB, free: 53.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01399/1.48, allocations: 2.603 MB / 0.7849 GB, free: 53.53 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/1.492, allocations: 5.523 MB / 0.7903 GB, free: 52.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006135/1.492, allocations: 0.6367 MB / 0.7909 GB, free: 52.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002817/1.495, allocations: 0.8397 MB / 0.7917 GB, free: 52.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02976/1.525, allocations: 13.45 MB / 0.8048 GB, free: 50.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002068/1.525, allocations: 7.719 kB / 0.8049 GB, free: 50.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00118/1.527, allocations: 366.3 kB / 0.8052 GB, free: 50.15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004711/1.527, allocations: 0.6161 MB / 0.8058 GB, free: 49.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01757/1.545, allocations: 10.11 MB / 0.8157 GB, free: 45.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05494/1.6, allocations: 43.67 MB / 0.8583 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008215/1.608, allocations: 10.51 MB / 0.8686 GB, free: 2.102 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/1.61, allocations: 1.712 MB / 0.8703 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/1.61, allocations: 129.5 kB / 0.8704 GB, free: 452 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/1.61, allocations: 60.5 kB / 0.8704 GB, free: 384 kB / 442.7 MB Notification: Performance of pre-optimization done (n=234): time 3.787e-06/1.61, allocations: 0 / 0.8704 GB, free: 384 kB / 442.7 MB Notification: Performance of matching and sorting (n=234): time 0.007471/1.618, allocations: 3.266 MB / 0.8736 GB, free: 14.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/1.618, allocations: 73.41 kB / 0.8737 GB, free: 14.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003965/1.622, allocations: 2.598 MB / 0.8762 GB, free: 11.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/1.622, allocations: 65.7 kB / 0.8763 GB, free: 11.79 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002457/1.624, allocations: 3.823 MB / 0.88 GB, free: 7.938 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008031/1.625, allocations: 0.8291 MB / 0.8808 GB, free: 7.117 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/1.625, allocations: 96 kB / 0.8809 GB, free: 7.023 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000331/1.626, allocations: 0.5002 MB / 0.8814 GB, free: 6.516 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002844/1.629, allocations: 1.969 MB / 0.8834 GB, free: 4.539 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2532/1.882, allocations: 4.146 MB / 0.8874 GB, free: 65.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00521/1.887, allocations: 3.043 MB / 0.8904 GB, free: 65.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.79e-05/1.887, allocations: 24.25 kB / 0.8904 GB, free: 65.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.01176/1.899, allocations: 6.523 MB / 0.8968 GB, free: 65.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/1.899, allocations: 37.62 kB / 0.8968 GB, free: 65.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/1.899, allocations: 74.91 kB / 0.8969 GB, free: 65.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/1.9, allocations: 418.8 kB / 0.8973 GB, free: 65.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/1.904, allocations: 1.068 MB / 0.8983 GB, free: 65.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005039/1.909, allocations: 4.045 MB / 0.9023 GB, free: 63.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/1.913, allocations: 0.6282 MB / 0.9029 GB, free: 63.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005738/1.913, allocations: 252.2 kB / 0.9031 GB, free: 63.72 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 (574): * Single equations (assignments): 569 * 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 prepare postOptimizeDAE: time 0.0006626/1.914, allocations: 425.2 kB / 0.9035 GB, free: 63.61 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005547/1.915, allocations: 275.6 kB / 0.9038 GB, free: 63.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006655/1.921, allocations: 3.657 MB / 0.9074 GB, free: 63.29 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004415/1.926, allocations: 2.868 MB / 0.9102 GB, free: 63.19 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.926, allocations: 7.859 kB / 0.9102 GB, free: 63.19 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.159e-05/1.926, allocations: 11.77 kB / 0.9102 GB, free: 63.19 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/1.941, allocations: 10.34 MB / 0.9203 GB, free: 62.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/1.941, allocations: 7.297 kB / 0.9203 GB, free: 62.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.943, allocations: 418.9 kB / 0.9207 GB, free: 62.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006477/1.944, allocations: 306.4 kB / 0.921 GB, free: 62.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/1.944, allocations: 54.17 kB / 0.921 GB, free: 62.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003908/1.948, allocations: 3.87 MB / 0.9248 GB, free: 60.94 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.948, allocations: 0 / 0.9248 GB, free: 60.94 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006433/1.954, allocations: 5.327 MB / 0.93 GB, free: 60.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.956, allocations: 0.6322 MB / 0.9306 GB, free: 60.15 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/1.956, allocations: 45.86 kB / 0.9307 GB, free: 60.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.957, allocations: 133.8 kB / 0.9308 GB, free: 60.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/1.957, allocations: 151.6 kB / 0.9309 GB, free: 60.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/1.958, allocations: 67.17 kB / 0.931 GB, free: 60.15 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002568/1.96, allocations: 1.915 MB / 0.9329 GB, free: 59.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.96, allocations: 0 / 0.9329 GB, free: 59.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005425/1.966, allocations: 1.99 MB / 0.9348 GB, free: 59.7 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.006726/1.972, allocations: 6.376 MB / 0.941 GB, free: 58.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006566/1.979, allocations: 4.657 MB / 0.9456 GB, free: 58.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.979, allocations: 0 / 0.9456 GB, free: 58.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/1.981, allocations: 1.773 MB / 0.9473 GB, free: 57.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/1.984, allocations: 0.6012 MB / 0.9479 GB, free: 57.91 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/2.009, allocations: 13.48 MB / 0.9611 GB, free: 54.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005111/2.014, allocations: 5.796 MB / 0.9667 GB, free: 52.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004074/2.018, allocations: 1.695 MB / 0.9684 GB, free: 51.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003196/2.021, allocations: 2.68 MB / 0.971 GB, free: 49.65 MB / 458.7 MB Notification: Performance of SimCode: time 9.52e-07/2.021, allocations: 0 / 0.971 GB, free: 49.65 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3827/2.404, allocations: 90.14 MB / 1.059 GB, free: 45.71 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/2.404, allocations: 189.7 kB / 1.059 GB, free: 45.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.47/5.875, allocations: 0 / 1.059 GB, free: 45.5 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