Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",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.001507/0.001507, 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.379/1.379, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.000826/0.000826, allocations: 90.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.763e-05, allocations: 7.984 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.0959, allocations: 47.57 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3099/0.4059, allocations: 89.29 MB / 459.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.4062, allocations: 77.95 kB / 459.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4732/0.8794, allocations: 141.3 MB / 0.5867 GB, free: 92.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.8795, allocations: 0 / 0.5867 GB, free: 92.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001534/0.8796, allocations: 89.39 kB / 0.5868 GB, free: 92.05 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01176/0.8914, allocations: 3.879 MB / 0.5906 GB, free: 89.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.8915, allocations: 11.31 kB / 0.5906 GB, free: 89.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001627/0.8931, allocations: 0.6277 MB / 0.5912 GB, free: 89.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.9037, allocations: 1.815 MB / 0.593 GB, free: 88.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005341/0.9091, allocations: 2.432 MB / 0.5953 GB, free: 86.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/0.9094, allocations: 320.7 kB / 0.5956 GB, free: 86.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/0.9106, allocations: 423.1 kB / 0.5961 GB, free: 86.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.9215, allocations: 6.822 MB / 0.6027 GB, free: 81.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.203e-05/0.9216, allocations: 8 kB / 0.6027 GB, free: 81.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004105/0.9221, allocations: 176 kB / 0.6029 GB, free: 80.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002235/0.9223, allocations: 272.7 kB / 0.6031 GB, free: 80.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008216/0.9305, allocations: 5.74 MB / 0.6088 GB, free: 74.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02521/0.9558, allocations: 21.34 MB / 0.6296 GB, free: 53.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005608/0.9614, allocations: 7.575 MB / 0.637 GB, free: 45.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003275/0.9647, allocations: 2.923 MB / 0.6398 GB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01095/0.9757, allocations: 9.472 MB / 0.6491 GB, free: 32.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.9757, allocations: 52.56 kB / 0.6491 GB, free: 32.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 4.167e-06/0.9758, allocations: 0 / 0.6491 GB, free: 32.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.004822/0.9806, allocations: 4.252 MB / 0.6533 GB, free: 28.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.9806, allocations: 73.34 kB / 0.6534 GB, free: 28.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.9819, allocations: 1.092 MB / 0.6544 GB, free: 27.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.982, allocations: 57.7 kB / 0.6545 GB, free: 26.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000584/0.9826, allocations: 1.646 MB / 0.6561 GB, free: 25.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004773/0.9831, allocations: 0.8814 MB / 0.657 GB, free: 24.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.9832, allocations: 52 kB / 0.657 GB, free: 24.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.9834, allocations: 493.8 kB / 0.6575 GB, free: 23.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.9855, allocations: 1.907 MB / 0.6593 GB, free: 21.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002511/0.988, allocations: 2.673 MB / 0.662 GB, free: 18.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.9907, allocations: 2.378 MB / 0.6643 GB, free: 16.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.9908, allocations: 11.94 kB / 0.6643 GB, free: 16.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.006648/0.9974, allocations: 5.49 MB / 0.6696 GB, free: 11.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.9975, allocations: 12 kB / 0.6697 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/0.9975, allocations: 24 kB / 0.6697 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.999, allocations: 1.061 MB / 0.6707 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/1.001, allocations: 0.5226 MB / 0.6712 GB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/1.004, allocations: 3.877 MB / 0.675 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/1.006, allocations: 364.5 kB / 0.6754 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/1.006, allocations: 136 kB / 0.6755 GB, free: 4.953 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004164/1.006, allocations: 264.1 kB / 0.6757 GB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/1.007, allocations: 157.9 kB / 0.6759 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005514/1.012, allocations: 4.617 MB / 0.6804 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005287/1.018, allocations: 4.221 MB / 0.6845 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.018, allocations: 0 / 0.6845 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/1.018, allocations: 7.969 kB / 0.6845 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/1.03, allocations: 9.491 MB / 0.6938 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/1.031, allocations: 0 / 0.6938 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.032, allocations: 247.7 kB / 0.694 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/1.033, allocations: 1.041 MB / 0.6951 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/1.033, allocations: 51.97 kB / 0.6951 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2323/1.265, allocations: 3.828 MB / 0.6988 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.266, allocations: 2.75 kB / 0.6988 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.276, allocations: 7.069 MB / 0.7057 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000758/1.277, allocations: 295.3 kB / 0.706 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/1.277, allocations: 35.36 kB / 0.7061 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009018/1.278, allocations: 81.06 kB / 0.7061 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000463/1.279, allocations: 203.2 kB / 0.7063 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/1.279, allocations: 65.77 kB / 0.7064 GB, free: 101.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0015/1.281, allocations: 0.7885 MB / 0.7072 GB, free: 101.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.693e-06/1.281, allocations: 0 / 0.7072 GB, free: 101.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003263/1.284, allocations: 1.001 MB / 0.7081 GB, free: 101.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (152): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01039/1.294, allocations: 7.725 MB / 0.7157 GB, free: 100.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005396/1.3, allocations: 4.436 MB / 0.72 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.3, allocations: 0 / 0.72 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002371/1.302, allocations: 2.037 MB / 0.722 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/1.304, allocations: 263.6 kB / 0.7223 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/1.317, allocations: 8.664 MB / 0.7307 GB, free: 98.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/1.32, allocations: 3.054 MB / 0.7337 GB, free: 96.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001531/1.321, allocations: 0.575 MB / 0.7343 GB, free: 96.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.322, allocations: 1.215 MB / 0.7355 GB, free: 95.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/1.322, allocations: 3.281 kB / 0.7355 GB, free: 95.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08301/1.405, allocations: 62.9 MB / 0.7969 GB, free: 55.55 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/1.406, allocations: 220.9 kB / 0.7971 GB, free: 55.31 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/4.344, allocations: 0 / 0.7971 GB, free: 55.31 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat does not exist to compare? outputFormat=mat