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.0009827/0.0009827, allocations: 176.5 kB / 8.345 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.0008405/0.0008404, allocations: 91.59 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.743e-05/1.746e-05, allocations: 4 kB / 337.1 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 50.41 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4694, allocations: 88.78 MB / 476.3 MB, free: 5.922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.4697, allocations: 81.55 kB / 476.4 MB, free: 5.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4902/0.9599, allocations: 151 MB / 0.6127 GB, free: 91.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.96, allocations: 0 / 0.6127 GB, free: 91.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000148/0.9601, allocations: 98.16 kB / 0.6128 GB, free: 91.56 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.01005/0.9702, allocations: 4.052 MB / 0.6168 GB, free: 88.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.9702, allocations: 14.98 kB / 0.6168 GB, free: 88.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/0.9751, allocations: 0.9649 MB / 0.6177 GB, free: 88.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/0.9798, allocations: 2.731 MB / 0.6204 GB, free: 86.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.98, allocations: 144.5 kB / 0.6205 GB, free: 86.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007887/0.9808, allocations: 246 kB / 0.6208 GB, free: 86.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008619/0.9894, allocations: 4.547 MB / 0.6252 GB, free: 82.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009815/0.9992, allocations: 5.847 MB / 0.6309 GB, free: 76.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.103e-05/0.9994, allocations: 11.86 kB / 0.6309 GB, free: 76.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003315/0.9997, allocations: 4 kB / 0.6309 GB, free: 76.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002523/1, allocations: 317.4 kB / 0.6312 GB, free: 75.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02295/1.023, allocations: 19.83 MB / 0.6506 GB, free: 55.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00568/1.029, allocations: 5.755 MB / 0.6562 GB, free: 49.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008029/1.03, allocations: 0.7102 MB / 0.6569 GB, free: 48.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/1.03, allocations: 112.2 kB / 0.657 GB, free: 48.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/1.03, allocations: 43.34 kB / 0.6571 GB, free: 48.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=100): time 4.368e-06/1.03, allocations: 0 / 0.6571 GB, free: 48.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=100): time 0.002132/1.032, allocations: 1.324 MB / 0.6584 GB, free: 46.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/1.032, allocations: 60.19 kB / 0.6584 GB, free: 46.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/1.033, allocations: 1.236 MB / 0.6596 GB, free: 45.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/1.033, allocations: 25.7 kB / 0.6596 GB, free: 45.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000776/1.034, allocations: 1.955 MB / 0.6616 GB, free: 43.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/1.034, allocations: 351.1 kB / 0.6619 GB, free: 43.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/1.034, allocations: 4 kB / 0.6619 GB, free: 43.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/1.035, allocations: 451.3 kB / 0.6623 GB, free: 42.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008696/1.036, allocations: 0.8048 MB / 0.6631 GB, free: 41.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/1.037, allocations: 1.918 MB / 0.665 GB, free: 39.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/1.039, allocations: 1.559 MB / 0.6665 GB, free: 37.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/1.039, allocations: 12 kB / 0.6665 GB, free: 37.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003962/1.043, allocations: 2.855 MB / 0.6693 GB, free: 34.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/1.043, allocations: 24 kB / 0.6693 GB, free: 34.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/1.043, allocations: 36 kB / 0.6694 GB, free: 34.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.553e-05/1.043, allocations: 60 kB / 0.6694 GB, free: 34.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/1.045, allocations: 0.5381 MB / 0.6699 GB, free: 34.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-05/1.045, allocations: 80.16 kB / 0.67 GB, free: 34.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/1.046, allocations: 257.1 kB / 0.6703 GB, free: 33.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.046, allocations: 124 kB / 0.6704 GB, free: 33.84 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.0002352/1.046, allocations: 203.9 kB / 0.6706 GB, free: 33.63 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002031/1.048, allocations: 1.327 MB / 0.6719 GB, free: 32.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/1.049, allocations: 126.4 kB / 0.672 GB, free: 32.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/1.051, allocations: 1.602 MB / 0.6736 GB, free: 30.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001636/1.053, allocations: 1.177 MB / 0.6747 GB, free: 29.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.053, allocations: 0 / 0.6747 GB, free: 29.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/1.053, allocations: 7.969 kB / 0.6747 GB, free: 29.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/1.067, allocations: 11.55 MB / 0.686 GB, free: 17.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/1.067, allocations: 23.94 kB / 0.686 GB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007143/1.067, allocations: 215.6 kB / 0.6862 GB, free: 16.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-05/1.067, allocations: 32.77 kB / 0.6863 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/1.067, allocations: 35.98 kB / 0.6863 GB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.962e-05/1.067, allocations: 43.8 kB / 0.6863 GB, free: 16.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/1.068, allocations: 31.88 kB / 0.6864 GB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/1.071, allocations: 3.94 MB / 0.6902 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/1.071, allocations: 351.1 kB / 0.6905 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/1.072, allocations: 31.98 kB / 0.6906 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006601/1.072, allocations: 51.94 kB / 0.6906 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.072, allocations: 135.5 kB / 0.6908 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/1.072, allocations: 52 kB / 0.6908 GB, free: 11.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001085/1.074, allocations: 0.9057 MB / 0.6917 GB, free: 10.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.074, allocations: 0 / 0.6917 GB, free: 10.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00261/1.076, allocations: 0.9046 MB / 0.6926 GB, free: 9.773 MB / 426.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.004963/1.081, allocations: 10.35 MB / 0.7027 GB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003106/1.084, allocations: 1.808 MB / 0.7044 GB, free: 13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/1.084, allocations: 5.125 kB / 0.7045 GB, free: 13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008148/1.085, allocations: 0.6094 MB / 0.705 GB, free: 12.39 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/1.087, allocations: 332.4 kB / 0.7054 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/1.1, allocations: 6.855 MB / 0.7121 GB, free: 4.891 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003175/1.104, allocations: 3.145 MB / 0.7151 GB, free: 1.711 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002254/1.106, allocations: 0.8288 MB / 0.7159 GB, free: 0.875 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2336/1.34, allocations: 1.264 MB / 0.7172 GB, free: 101 MB / 442.7 MB Notification: Performance of SimCode: time 8.81e-07/1.34, allocations: 0.6562 kB / 0.7172 GB, free: 101 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07508/1.415, allocations: 40.19 MB / 0.7564 GB, free: 98.79 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/1.415, allocations: 167.4 kB / 0.7566 GB, free: 98.58 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/3.993, allocations: 0 / 0.7566 GB, free: 98.58 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