Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",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.001127/0.001127, allocations: 174.8 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.359/1.359, allocations: 221.3 MB / 235.5 MB, free: 2.961 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.001081/0.001081, allocations: 97.56 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.426e-05/4.442e-05, allocations: 4 kB / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 50.41 MB / 394.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3364/0.4378, allocations: 89.44 MB / 483.8 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.438, allocations: 75.95 kB / 483.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4901/0.9281, allocations: 152.5 MB / 0.6215 GB, free: 83.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.9282, allocations: 0 / 0.6215 GB, free: 83.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001699/0.9283, allocations: 99.31 kB / 0.6216 GB, free: 83.6 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01182/0.9402, allocations: 4.064 MB / 0.6255 GB, free: 79.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.9402, allocations: 8.031 kB / 0.6255 GB, free: 79.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001638/0.9419, allocations: 0.6408 MB / 0.6262 GB, free: 78.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006209/0.9481, allocations: 0.9762 MB / 0.6271 GB, free: 77.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006216/0.9544, allocations: 2.727 MB / 0.6298 GB, free: 75.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.9546, allocations: 324.1 kB / 0.6301 GB, free: 74.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009107/0.9555, allocations: 424 kB / 0.6305 GB, free: 74.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009619/0.9652, allocations: 6.487 MB / 0.6368 GB, free: 67.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.244e-05/0.9653, allocations: 3.906 kB / 0.6368 GB, free: 67.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003713/0.9657, allocations: 188 kB / 0.637 GB, free: 67.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/0.9659, allocations: 321.4 kB / 0.6373 GB, free: 67.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006914/0.9728, allocations: 4.638 MB / 0.6418 GB, free: 62.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02427/0.9971, allocations: 20.74 MB / 0.6621 GB, free: 41.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004827/1.002, allocations: 5.57 MB / 0.6675 GB, free: 34.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008663/1.003, allocations: 0.7093 MB / 0.6682 GB, free: 34.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/1.003, allocations: 109.2 kB / 0.6683 GB, free: 34.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/1.003, allocations: 43.34 kB / 0.6684 GB, free: 34.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 3.246e-06/1.003, allocations: 0 / 0.6684 GB, free: 34.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=100): time 0.001542/1.005, allocations: 1.115 MB / 0.6695 GB, free: 32.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/1.005, allocations: 60.19 kB / 0.6695 GB, free: 32.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/1.007, allocations: 1.285 MB / 0.6708 GB, free: 31.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/1.007, allocations: 41.7 kB / 0.6708 GB, free: 31.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008519/1.008, allocations: 1.962 MB / 0.6727 GB, free: 29.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/1.008, allocations: 366.2 kB / 0.6731 GB, free: 29.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/1.008, allocations: 48 kB / 0.6731 GB, free: 29.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/1.008, allocations: 459.2 kB / 0.6736 GB, free: 28.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/1.009, allocations: 0.8243 MB / 0.6744 GB, free: 27.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/1.01, allocations: 1.953 MB / 0.6763 GB, free: 25.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/1.012, allocations: 1.351 MB / 0.6776 GB, free: 23.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/1.012, allocations: 15.94 kB / 0.6776 GB, free: 23.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003282/1.015, allocations: 2.836 MB / 0.6804 GB, free: 21.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/1.015, allocations: 20 kB / 0.6804 GB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/1.015, allocations: 40 kB / 0.6804 GB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.501e-05/1.015, allocations: 60 kB / 0.6805 GB, free: 21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/1.017, allocations: 0.5342 MB / 0.681 GB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.832e-05/1.017, allocations: 79.66 kB / 0.6811 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/1.018, allocations: 301.4 kB / 0.6814 GB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/1.018, allocations: 128 kB / 0.6815 GB, free: 19.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 281 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002269/1.018, allocations: 259.9 kB / 0.6817 GB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/1.019, allocations: 134.3 kB / 0.6819 GB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/1.02, allocations: 1.424 MB / 0.6833 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001097/1.022, allocations: 1.006 MB / 0.6842 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.022, allocations: 0 / 0.6842 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.022, allocations: 3.984 kB / 0.6843 GB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/1.038, allocations: 12.04 MB / 0.696 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.465e-05/1.038, allocations: 20 kB / 0.696 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007636/1.038, allocations: 215.6 kB / 0.6962 GB, free: 4.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.53e-05/1.039, allocations: 28 kB / 0.6963 GB, free: 4.211 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/1.039, allocations: 40 kB / 0.6963 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.357e-05/1.039, allocations: 39.86 kB / 0.6963 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/1.039, allocations: 32.28 kB / 0.6964 GB, free: 4.102 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/1.042, allocations: 3.732 MB / 0.7 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007094/1.042, allocations: 339 kB / 0.7003 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/1.043, allocations: 43.98 kB / 0.7004 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008651/1.044, allocations: 68.02 kB / 0.7004 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/1.044, allocations: 135.5 kB / 0.7006 GB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.518e-05/1.044, allocations: 48 kB / 0.7006 GB, free: 15.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001704/1.046, allocations: 0.9696 MB / 0.7016 GB, free: 14.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.046, allocations: 0 / 0.7016 GB, free: 14.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00311/1.049, allocations: 0.9632 MB / 0.7025 GB, free: 13.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 97 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005845/1.055, allocations: 10.18 MB / 0.7124 GB, free: 2.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003126/1.058, allocations: 1.901 MB / 0.7143 GB, free: 432 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/1.058, allocations: 4 kB / 0.7143 GB, free: 428 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2321/1.29, allocations: 0.6142 MB / 0.7149 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.292, allocations: 356.2 kB / 0.7152 GB, free: 102.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/1.309, allocations: 6.937 MB / 0.722 GB, free: 100.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003481/1.312, allocations: 3.138 MB / 0.7251 GB, free: 100 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002655/1.315, allocations: 0.8251 MB / 0.7259 GB, free: 100 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/1.317, allocations: 1.257 MB / 0.7271 GB, free: 100 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/1.317, allocations: 0 / 0.7271 GB, free: 100 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06526/1.382, allocations: 41.88 MB / 0.768 GB, free: 97.6 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/1.382, allocations: 176.4 kB / 0.7682 GB, free: 97.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.967, allocations: 0 / 0.7682 GB, free: 97.36 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat