Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001859/0.001859, allocations: 182.4 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.998/1.998, allocations: 194.3 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001743/0.001743, allocations: 132.6 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.964e-05, allocations: 7.984 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08066/0.0807, allocations: 44.51 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.4102, allocations: 84.96 MB / 434.4 MB, free: 8.277 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4104, allocations: 84.66 kB / 434.5 MB, free: 8.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5306/0.941, allocations: 142 MB / 0.563 GB, free: 90.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.9411, allocations: 0 / 0.563 GB, free: 90.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002416/0.9414, allocations: 90.42 kB / 0.5631 GB, free: 90.01 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.01667/0.958, allocations: 3.885 MB / 0.5669 GB, free: 88.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.964e-05/0.9581, allocations: 8.594 kB / 0.5669 GB, free: 88.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/0.9698, allocations: 1.809 MB / 0.5686 GB, free: 88.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006504/0.9763, allocations: 2.429 MB / 0.571 GB, free: 88.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003795/0.9767, allocations: 325.3 kB / 0.5713 GB, free: 88.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.9781, allocations: 418 kB / 0.5717 GB, free: 88.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01557/0.9937, allocations: 6.82 MB / 0.5784 GB, free: 87.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.9938, allocations: 11.02 kB / 0.5784 GB, free: 87.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005658/0.9944, allocations: 178.4 kB / 0.5786 GB, free: 87.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002992/0.9947, allocations: 273.8 kB / 0.5788 GB, free: 87.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/1.005, allocations: 5.741 MB / 0.5844 GB, free: 87.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03889/1.044, allocations: 21.34 MB / 0.6053 GB, free: 80.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006561/1.051, allocations: 7.569 MB / 0.6127 GB, free: 74.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003686/1.055, allocations: 2.927 MB / 0.6155 GB, free: 73.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01227/1.067, allocations: 9.462 MB / 0.6248 GB, free: 68.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/1.067, allocations: 52.12 kB / 0.6248 GB, free: 68.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=265): time 4.328e-06/1.067, allocations: 0 / 0.6248 GB, free: 68.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.005882/1.073, allocations: 4.254 MB / 0.629 GB, free: 66.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/1.073, allocations: 72.41 kB / 0.629 GB, free: 66.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/1.075, allocations: 1.086 MB / 0.6301 GB, free: 66.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/1.075, allocations: 56.98 kB / 0.6301 GB, free: 66.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007265/1.076, allocations: 1.642 MB / 0.6318 GB, free: 65.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007601/1.076, allocations: 0.8837 MB / 0.6326 GB, free: 64.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/1.076, allocations: 51.56 kB / 0.6327 GB, free: 64.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002188/1.077, allocations: 497.1 kB / 0.6331 GB, free: 63.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/1.079, allocations: 1.907 MB / 0.635 GB, free: 63.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/1.082, allocations: 2.678 MB / 0.6376 GB, free: 60.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002885/1.084, allocations: 2.374 MB / 0.6399 GB, free: 58.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/1.085, allocations: 8 kB / 0.6399 GB, free: 58.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.007182/1.092, allocations: 5.491 MB / 0.6453 GB, free: 53.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/1.092, allocations: 12 kB / 0.6453 GB, free: 53.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/1.092, allocations: 24 kB / 0.6453 GB, free: 53.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/1.093, allocations: 1.071 MB / 0.6464 GB, free: 53.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/1.095, allocations: 0.521 MB / 0.6469 GB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/1.098, allocations: 3.879 MB / 0.6507 GB, free: 49.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/1.101, allocations: 364.3 kB / 0.651 GB, free: 48.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/1.101, allocations: 138.9 kB / 0.6512 GB, free: 48.59 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.0004324/1.101, allocations: 259.8 kB / 0.6514 GB, free: 48.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003806/1.102, allocations: 161.8 kB / 0.6516 GB, free: 48.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005889/1.108, allocations: 4.61 MB / 0.6561 GB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004539/1.112, allocations: 4.228 MB / 0.6602 GB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.112, allocations: 0 / 0.6602 GB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/1.112, allocations: 7.406 kB / 0.6602 GB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/1.125, allocations: 9.492 MB / 0.6695 GB, free: 32.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/1.125, allocations: 4 kB / 0.6695 GB, free: 32.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/1.126, allocations: 251.8 kB / 0.6697 GB, free: 32.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/1.127, allocations: 1.036 MB / 0.6707 GB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002308/1.127, allocations: 51.41 kB / 0.6708 GB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003103/1.13, allocations: 3.842 MB / 0.6745 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.13, allocations: 0 / 0.6745 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008576/1.139, allocations: 7.074 MB / 0.6814 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/1.14, allocations: 289.4 kB / 0.6817 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/1.14, allocations: 32 kB / 0.6817 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009534/1.141, allocations: 78.03 kB / 0.6818 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003622/1.141, allocations: 205.6 kB / 0.682 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.142, allocations: 67.52 kB / 0.6821 GB, free: 20.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001023/1.143, allocations: 0.7899 MB / 0.6828 GB, free: 20.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.143, allocations: 0 / 0.6828 GB, free: 20.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002952/1.146, allocations: 0.9951 MB / 0.6838 GB, free: 19.27 MB / 410.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.0004643/1.146, allocations: 202.2 kB / 0.684 GB, free: 19.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005672/1.152, allocations: 4.434 MB / 0.6883 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.152, allocations: 0 / 0.6883 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/1.154, allocations: 2.044 MB / 0.6903 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.156, allocations: 265.2 kB / 0.6906 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.169, allocations: 7.446 MB / 0.6979 GB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/1.171, allocations: 3.049 MB / 0.7008 GB, free: 3.793 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001773/1.172, allocations: 0.5718 MB / 0.7014 GB, free: 3.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/1.173, allocations: 115.4 kB / 0.7015 GB, free: 3.117 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/1.173, allocations: 0 / 0.7015 GB, free: 3.117 MB / 410.7 MB Notification: Performance of Templates: time 0.2913/1.464, allocations: 36.84 MB / 0.7375 GB, free: 80.29 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1)