Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008019/0.0008017, allocations: 82.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.642e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07935/0.07939, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2747/0.3541, allocations: 89.37 MB / 459.5 MB, free: 3.988 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.3543, allocations: 82.2 kB / 459.6 MB, free: 3.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4884/0.8427, allocations: 156.4 MB / 0.6015 GB, free: 82.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.8428, allocations: 0 / 0.6015 GB, free: 82.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001538/0.843, allocations: 103.9 kB / 0.6016 GB, free: 82.89 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01208/0.855, allocations: 4.216 MB / 0.6057 GB, free: 78.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.8551, allocations: 12.03 kB / 0.6057 GB, free: 78.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001933/0.857, allocations: 0.6784 MB / 0.6064 GB, free: 77.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009478/0.8665, allocations: 1.69 MB / 0.6081 GB, free: 76.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005996/0.8726, allocations: 2.685 MB / 0.6107 GB, free: 73.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003661/0.873, allocations: 348.6 kB / 0.611 GB, free: 73.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/0.8744, allocations: 447.4 kB / 0.6114 GB, free: 72.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.8888, allocations: 7.469 MB / 0.6187 GB, free: 65.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.8889, allocations: 3.984 kB / 0.6187 GB, free: 65.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005633/0.8895, allocations: 199.1 kB / 0.6189 GB, free: 64.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000283/0.8898, allocations: 297.3 kB / 0.6192 GB, free: 64.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.9006, allocations: 6.094 MB / 0.6252 GB, free: 58.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03429/0.935, allocations: 23.24 MB / 0.6479 GB, free: 35.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005679/0.9407, allocations: 6.434 MB / 0.6541 GB, free: 28.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003644/0.9444, allocations: 3.277 MB / 0.6573 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/0.9573, allocations: 10.81 MB / 0.6679 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.9574, allocations: 68.45 kB / 0.668 GB, free: 13.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=319): time 6.382e-06/0.9574, allocations: 0 / 0.668 GB, free: 13.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=319): time 0.006405/0.9638, allocations: 5.158 MB / 0.673 GB, free: 8.777 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.9639, allocations: 73.41 kB / 0.6731 GB, free: 8.695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.9653, allocations: 1.06 MB / 0.6741 GB, free: 7.613 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.9656, allocations: 65.64 kB / 0.6742 GB, free: 7.543 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006371/0.9662, allocations: 1.682 MB / 0.6758 GB, free: 5.844 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007037/0.9669, allocations: 1.061 MB / 0.6768 GB, free: 4.793 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.9671, allocations: 55.94 kB / 0.6769 GB, free: 4.738 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.9674, allocations: 0.4983 MB / 0.6774 GB, free: 4.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/0.9699, allocations: 2.181 MB / 0.6795 GB, free: 2.047 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2277/1.198, allocations: 2.888 MB / 0.6823 GB, free: 80.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004742/1.202, allocations: 2.687 MB / 0.685 GB, free: 80.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.951e-05/1.202, allocations: 6.547 kB / 0.685 GB, free: 80.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01073/1.213, allocations: 6.238 MB / 0.6911 GB, free: 80.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/1.213, allocations: 14.19 kB / 0.6911 GB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.586e-05/1.213, allocations: 29.25 kB / 0.6911 GB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002458/1.216, allocations: 1.408 MB / 0.6925 GB, free: 80.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/1.218, allocations: 0.5107 MB / 0.693 GB, free: 80.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005292/1.224, allocations: 5.169 MB / 0.698 GB, free: 78.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/1.226, allocations: 378 kB / 0.6984 GB, free: 78.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004921/1.227, allocations: 141.2 kB / 0.6985 GB, free: 78.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005447/1.227, allocations: 259.6 kB / 0.6988 GB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004235/1.228, allocations: 170 kB / 0.6989 GB, free: 78.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007654/1.235, allocations: 5.586 MB / 0.7044 GB, free: 78.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006392/1.242, allocations: 5.134 MB / 0.7094 GB, free: 78.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/1.242, allocations: 0 / 0.7094 GB, free: 78.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/1.242, allocations: 17.56 kB / 0.7094 GB, free: 78.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/1.258, allocations: 11.12 MB / 0.7203 GB, free: 75.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/1.258, allocations: 0 / 0.7203 GB, free: 75.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/1.259, allocations: 276.4 kB / 0.7205 GB, free: 75.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/1.261, allocations: 1.383 MB / 0.7219 GB, free: 75.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003349/1.261, allocations: 66.34 kB / 0.7219 GB, free: 75.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004023/1.265, allocations: 5.13 MB / 0.727 GB, free: 72.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.265, allocations: 0 / 0.727 GB, free: 72.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/1.276, allocations: 8.515 MB / 0.7353 GB, free: 68.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.278, allocations: 0.7231 MB / 0.736 GB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/1.278, allocations: 41.5 kB / 0.736 GB, free: 67.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009184/1.279, allocations: 88.98 kB / 0.7361 GB, free: 67.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004318/1.279, allocations: 240.6 kB / 0.7363 GB, free: 67.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/1.279, allocations: 80.27 kB / 0.7364 GB, free: 67.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000936/1.28, allocations: 0.7792 MB / 0.7372 GB, free: 67.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.28, allocations: 0 / 0.7372 GB, free: 67.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002984/1.283, allocations: 1.074 MB / 0.7382 GB, free: 67.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (174): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 58 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01115/1.295, allocations: 9.181 MB / 0.7472 GB, free: 62.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00819/1.303, allocations: 5.123 MB / 0.7522 GB, free: 59.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.303, allocations: 3.844 kB / 0.7522 GB, free: 59.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003367/1.306, allocations: 2.44 MB / 0.7546 GB, free: 56.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.308, allocations: 317.6 kB / 0.7549 GB, free: 56.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/1.325, allocations: 9.686 MB / 0.7643 GB, free: 48.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002453/1.328, allocations: 3.328 MB / 0.7676 GB, free: 45.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001751/1.33, allocations: 0.5929 MB / 0.7682 GB, free: 45.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001358/1.331, allocations: 1.315 MB / 0.7694 GB, free: 44.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.493e-06/1.331, allocations: 0 / 0.7694 GB, free: 44.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/1.435, allocations: 72.22 MB / 0.84 GB, free: 12.96 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/1.436, allocations: 206.9 kB / 0.8402 GB, free: 12.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/4.647, allocations: 0 / 0.8402 GB, free: 12.73 MB / 442.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat