Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",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.00161/0.00161, allocations: 176.4 kB / 8.349 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.322/1.322, allocations: 221.5 MB / 230.3 MB, free: 7.535 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.0009107/0.0009107, allocations: 92.62 kB / 281.2 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.345e-05, allocations: 4 kB / 337.1 MB, free: 9.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.09835, allocations: 50.41 MB / 387.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3408/0.4392, allocations: 88.68 MB / 476.2 MB, free: 6.031 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.4396, allocations: 79.95 kB / 476.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6057/1.045, allocations: 134.1 MB / 0.5961 GB, free: 99.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.796e-06/1.045, allocations: 0 / 0.5961 GB, free: 99.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002115/1.046, allocations: 78.92 kB / 0.5962 GB, free: 99.3 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01267/1.058, allocations: 3.708 MB / 0.5998 GB, free: 97.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.058, allocations: 7.562 kB / 0.5998 GB, free: 97.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005578/1.064, allocations: 0.9365 MB / 0.6007 GB, free: 97.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/1.068, allocations: 2.423 MB / 0.6031 GB, free: 95.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/1.069, allocations: 129.7 kB / 0.6032 GB, free: 95.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007636/1.069, allocations: 220.1 kB / 0.6034 GB, free: 95.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006755/1.076, allocations: 4.131 MB / 0.6075 GB, free: 94.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009134/1.085, allocations: 5.231 MB / 0.6126 GB, free: 91.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001026/1.086, allocations: 7.875 kB / 0.6126 GB, free: 91.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003112/1.086, allocations: 3.656 kB / 0.6126 GB, free: 91.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002638/1.086, allocations: 276.5 kB / 0.6129 GB, free: 91.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02213/1.108, allocations: 17.82 MB / 0.6303 GB, free: 76.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004176/1.112, allocations: 4.016 MB / 0.6342 GB, free: 71.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/1.113, allocations: 0.6869 MB / 0.6348 GB, free: 70.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/1.113, allocations: 106.2 kB / 0.6349 GB, free: 70.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/1.113, allocations: 43.88 kB / 0.635 GB, free: 70.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=106): time 3.367e-06/1.113, allocations: 0 / 0.635 GB, free: 70.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=106): time 0.002271/1.116, allocations: 1.397 MB / 0.6364 GB, free: 69.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/1.116, allocations: 72.61 kB / 0.6364 GB, free: 69.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/1.117, allocations: 1.14 MB / 0.6375 GB, free: 68.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/1.117, allocations: 25.7 kB / 0.6376 GB, free: 68.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006424/1.118, allocations: 1.749 MB / 0.6393 GB, free: 66.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/1.118, allocations: 362.8 kB / 0.6396 GB, free: 65.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/1.118, allocations: 0 / 0.6396 GB, free: 65.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/1.118, allocations: 443.1 kB / 0.64 GB, free: 65.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000947/1.119, allocations: 0.8358 MB / 0.6409 GB, free: 64.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/1.121, allocations: 1.804 MB / 0.6426 GB, free: 62.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/1.123, allocations: 1.548 MB / 0.6441 GB, free: 60.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/1.123, allocations: 8 kB / 0.6441 GB, free: 60.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004026/1.127, allocations: 2.836 MB / 0.6469 GB, free: 58.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/1.127, allocations: 20 kB / 0.6469 GB, free: 57.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/1.127, allocations: 36 kB / 0.647 GB, free: 57.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.325e-05/1.127, allocations: 52 kB / 0.647 GB, free: 57.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/1.129, allocations: 0.5342 MB / 0.6475 GB, free: 57.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.98e-05/1.129, allocations: 71.72 kB / 0.6476 GB, free: 57.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.13, allocations: 253.3 kB / 0.6478 GB, free: 57.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/1.13, allocations: 116 kB / 0.6479 GB, free: 56.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 271 * 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.0002217/1.13, allocations: 188 kB / 0.6481 GB, free: 56.75 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002072/1.132, allocations: 1.405 MB / 0.6495 GB, free: 55.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/1.133, allocations: 122.4 kB / 0.6496 GB, free: 55.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/1.135, allocations: 1.722 MB / 0.6513 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001704/1.137, allocations: 1.294 MB / 0.6526 GB, free: 52.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/1.137, allocations: 7.938 kB / 0.6526 GB, free: 52.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.137, allocations: 7.984 kB / 0.6526 GB, free: 52.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/1.15, allocations: 12.02 MB / 0.6643 GB, free: 39.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/1.15, allocations: 24 kB / 0.6643 GB, free: 39.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007595/1.151, allocations: 231.6 kB / 0.6646 GB, free: 39.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-05/1.151, allocations: 28 kB / 0.6646 GB, free: 39.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/1.151, allocations: 39.94 kB / 0.6646 GB, free: 39.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.959e-05/1.151, allocations: 39.86 kB / 0.6647 GB, free: 39.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.636e-05/1.151, allocations: 31.86 kB / 0.6647 GB, free: 39.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/1.154, allocations: 4.147 MB / 0.6687 GB, free: 34.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/1.155, allocations: 243.2 kB / 0.669 GB, free: 33.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/1.155, allocations: 31.92 kB / 0.669 GB, free: 33.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/1.155, allocations: 63.98 kB / 0.6691 GB, free: 33.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.156, allocations: 139.5 kB / 0.6692 GB, free: 33.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/1.156, allocations: 55.98 kB / 0.6692 GB, free: 33.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009334/1.157, allocations: 0.8319 MB / 0.6701 GB, free: 32.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.157, allocations: 0 / 0.6701 GB, free: 32.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002414/1.159, allocations: 0.8272 MB / 0.6709 GB, free: 31.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.00475/1.164, allocations: 11.03 MB / 0.6816 GB, free: 20.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002489/1.166, allocations: 1.847 MB / 0.6834 GB, free: 18.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/1.166, allocations: 4 kB / 0.6834 GB, free: 18.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007208/1.167, allocations: 0.6436 MB / 0.6841 GB, free: 17.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/1.169, allocations: 313.8 kB / 0.6844 GB, free: 17.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.179, allocations: 6.344 MB / 0.6906 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/1.181, allocations: 2.863 MB / 0.6934 GB, free: 7.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001801/1.183, allocations: 0.773 MB / 0.6941 GB, free: 7.133 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/1.184, allocations: 1.128 MB / 0.6952 GB, free: 6.004 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/1.184, allocations: 0 / 0.6952 GB, free: 6.004 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.288/1.472, allocations: 37.03 MB / 0.7314 GB, free: 103.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/1.472, allocations: 158 kB / 0.7315 GB, free: 103.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.958, allocations: 4 kB / 0.7315 GB, free: 103.1 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat