Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001274/0.001274, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 225.6 MB / 234.8 MB, free: 3.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000955/0.0009551, allocations: 83.66 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.964e-05, allocations: 0 / 343.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 51.48 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3505/0.4617, allocations: 89.64 MB / 484.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/0.4619, allocations: 85.44 kB / 485 MB, free: 3.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5917/1.054, allocations: 159.5 MB / 0.6294 GB, free: 82.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.054, allocations: 0 / 0.6294 GB, free: 82.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002363/1.054, allocations: 102.4 kB / 0.6295 GB, free: 82.28 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.014/1.068, allocations: 4.09 MB / 0.6335 GB, free: 80.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.068, allocations: 10.06 kB / 0.6335 GB, free: 80.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00638/1.074, allocations: 0.9755 MB / 0.6344 GB, free: 80.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006578/1.081, allocations: 2.728 MB / 0.6371 GB, free: 78.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/1.081, allocations: 140.5 kB / 0.6372 GB, free: 78.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001318/1.083, allocations: 251.6 kB / 0.6375 GB, free: 78.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01079/1.094, allocations: 4.549 MB / 0.6419 GB, free: 76.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01542/1.109, allocations: 5.855 MB / 0.6476 GB, free: 73.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001999/1.109, allocations: 3.906 kB / 0.6476 GB, free: 73.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001236/1.111, allocations: 3.875 kB / 0.6476 GB, free: 73.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003933/1.111, allocations: 319.6 kB / 0.6479 GB, free: 73.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03089/1.142, allocations: 20.06 MB / 0.6675 GB, free: 62.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005598/1.147, allocations: 5.75 MB / 0.6731 GB, free: 57.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008927/1.148, allocations: 0.7084 MB / 0.6738 GB, free: 57.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/1.149, allocations: 185.7 kB / 0.674 GB, free: 57.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/1.149, allocations: 42.66 kB / 0.6741 GB, free: 56.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.566e-06/1.149, allocations: 7.922 kB / 0.6741 GB, free: 56.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.003078/1.152, allocations: 1.441 MB / 0.6755 GB, free: 56.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/1.152, allocations: 71.19 kB / 0.6755 GB, free: 56.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/1.153, allocations: 1.232 MB / 0.6767 GB, free: 55.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/1.153, allocations: 25.7 kB / 0.6768 GB, free: 55.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007706/1.154, allocations: 1.957 MB / 0.6787 GB, free: 54.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/1.154, allocations: 348 kB / 0.679 GB, free: 54.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/1.155, allocations: 0 / 0.679 GB, free: 54.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/1.155, allocations: 457.8 kB / 0.6794 GB, free: 53.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009229/1.156, allocations: 0.8127 MB / 0.6802 GB, free: 53.49 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/1.157, allocations: 1.92 MB / 0.6821 GB, free: 51.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/1.16, allocations: 1.698 MB / 0.6838 GB, free: 51.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/1.16, allocations: 10.88 kB / 0.6838 GB, free: 51.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.005088/1.165, allocations: 2.989 MB / 0.6867 GB, free: 50.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/1.165, allocations: 28.44 kB / 0.6867 GB, free: 50.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.895e-05/1.165, allocations: 37.5 kB / 0.6868 GB, free: 50.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.824e-05/1.165, allocations: 60.09 kB / 0.6868 GB, free: 50.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/1.167, allocations: 0.5394 MB / 0.6873 GB, free: 50.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-05/1.167, allocations: 79.75 kB / 0.6874 GB, free: 50.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.168, allocations: 252 kB / 0.6877 GB, free: 49.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.168, allocations: 134.2 kB / 0.6878 GB, free: 49.88 MB / 442.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.0002318/1.169, allocations: 199.2 kB / 0.688 GB, free: 49.7 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00277/1.171, allocations: 1.445 MB / 0.6894 GB, free: 49.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/1.172, allocations: 129 kB / 0.6895 GB, free: 49.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/1.175, allocations: 1.703 MB / 0.6912 GB, free: 48.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002239/1.177, allocations: 1.286 MB / 0.6924 GB, free: 47.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.177, allocations: 0 / 0.6924 GB, free: 47.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/1.177, allocations: 3.984 kB / 0.6924 GB, free: 47.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/1.191, allocations: 12.95 MB / 0.7051 GB, free: 33.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/1.191, allocations: 23.98 kB / 0.7051 GB, free: 33.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007077/1.192, allocations: 219.6 kB / 0.7053 GB, free: 33.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.561e-05/1.192, allocations: 31.95 kB / 0.7053 GB, free: 33.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.626e-05/1.192, allocations: 31.98 kB / 0.7054 GB, free: 33.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.161e-05/1.192, allocations: 35.86 kB / 0.7054 GB, free: 33.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-05/1.192, allocations: 31.88 kB / 0.7054 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003893/1.196, allocations: 4.043 MB / 0.7094 GB, free: 28.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005768/1.197, allocations: 347 kB / 0.7097 GB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/1.197, allocations: 31.94 kB / 0.7098 GB, free: 28.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007147/1.197, allocations: 55.94 kB / 0.7098 GB, free: 28.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.198, allocations: 143.5 kB / 0.7099 GB, free: 27.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-05/1.198, allocations: 55.98 kB / 0.71 GB, free: 27.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001183/1.199, allocations: 0.9057 MB / 0.7109 GB, free: 26.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.199, allocations: 0 / 0.7109 GB, free: 26.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002863/1.202, allocations: 0.9007 MB / 0.7118 GB, free: 26 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.005269/1.207, allocations: 10.45 MB / 0.722 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002537/1.21, allocations: 1.816 MB / 0.7237 GB, free: 13.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/1.21, allocations: 7.375 kB / 0.7237 GB, free: 13.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006672/1.21, allocations: 0.6032 MB / 0.7243 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/1.212, allocations: 334.7 kB / 0.7246 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/1.224, allocations: 6.865 MB / 0.7314 GB, free: 5.016 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/1.227, allocations: 3.133 MB / 0.7344 GB, free: 1.848 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00201/1.229, allocations: 0.8367 MB / 0.7352 GB, free: 1.004 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.234/1.463, allocations: 1.262 MB / 0.7365 GB, free: 74.14 MB / 442.7 MB Notification: Performance of SimCode: time 9.32e-07/1.463, allocations: 0 / 0.7365 GB, free: 74.14 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07368/1.537, allocations: 40.09 MB / 0.7756 GB, free: 71.97 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001442/1.537, allocations: 160 kB / 0.7758 GB, free: 71.78 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/4.341, allocations: 1.156 kB / 0.7758 GB, free: 71.78 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat