Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009942/0.0009942, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.122/1.122, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001553/0.001554, allocations: 116.9 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002926, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08079/0.0811, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2552/0.3364, allocations: 85.12 MB / 440.2 MB, free: 4.578 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.3366, allocations: 83.05 kB / 440.3 MB, free: 4.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.434/0.7707, allocations: 157.4 MB / 0.5837 GB, free: 78.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.396e-06/0.7707, allocations: 0 / 0.5837 GB, free: 78.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001574/0.7709, allocations: 103.2 kB / 0.5838 GB, free: 78.3 MB / 394.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.01058/0.7815, allocations: 4.337 MB / 0.588 GB, free: 75.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.7816, allocations: 11.44 kB / 0.588 GB, free: 75.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008714/0.7903, allocations: 1.707 MB / 0.5897 GB, free: 74.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005286/0.7956, allocations: 2.686 MB / 0.5923 GB, free: 71.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.7958, allocations: 345.2 kB / 0.5926 GB, free: 71.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006161/0.7964, allocations: 439.8 kB / 0.593 GB, free: 70.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.8067, allocations: 7.55 MB / 0.6004 GB, free: 63.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.321e-05/0.8068, allocations: 3.938 kB / 0.6004 GB, free: 63.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004261/0.8072, allocations: 195 kB / 0.6006 GB, free: 62.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/0.8075, allocations: 305.3 kB / 0.6009 GB, free: 62.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007994/0.8155, allocations: 6.195 MB / 0.6069 GB, free: 56.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0267/0.8422, allocations: 23.24 MB / 0.6296 GB, free: 33.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005135/0.8474, allocations: 6.456 MB / 0.6359 GB, free: 26.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01362/0.861, allocations: 10.81 MB / 0.6465 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.8611, allocations: 56.56 kB / 0.6466 GB, free: 15.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=319): time 5.47e-06/0.8611, allocations: 0 / 0.6466 GB, free: 15.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=319): time 0.01098/0.8721, allocations: 12.99 MB / 0.6592 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.8721, allocations: 73.41 kB / 0.6593 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1918/1.064, allocations: 1.065 MB / 0.6603 GB, free: 78.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006319/1.065, allocations: 59.8 kB / 0.6604 GB, free: 78.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009928/1.066, allocations: 1.684 MB / 0.662 GB, free: 77.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.067, allocations: 1.055 MB / 0.6631 GB, free: 77.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/1.067, allocations: 61.5 kB / 0.6631 GB, free: 77.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002351/1.067, allocations: 0.4948 MB / 0.6636 GB, free: 76.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/1.07, allocations: 2.205 MB / 0.6658 GB, free: 76.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002992/1.073, allocations: 2.918 MB / 0.6686 GB, free: 76.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/1.076, allocations: 2.698 MB / 0.6713 GB, free: 76.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/1.076, allocations: 7.531 kB / 0.6713 GB, free: 76.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.008307/1.084, allocations: 6.29 MB / 0.6774 GB, free: 75.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/1.084, allocations: 13.62 kB / 0.6774 GB, free: 75.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.255e-05/1.084, allocations: 22.94 kB / 0.6774 GB, free: 75.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002154/1.087, allocations: 1.423 MB / 0.6788 GB, free: 75.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/1.088, allocations: 0.5112 MB / 0.6793 GB, free: 75.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004352/1.093, allocations: 5.176 MB / 0.6844 GB, free: 73.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/1.095, allocations: 375.1 kB / 0.6847 GB, free: 73.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/1.095, allocations: 139.3 kB / 0.6849 GB, free: 73.62 MB / 394.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 () * Number of clocked 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.003075/1.098, allocations: 1.706 MB / 0.6865 GB, free: 73.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000414/1.099, allocations: 173.7 kB / 0.6867 GB, free: 73.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007953/1.106, allocations: 5.612 MB / 0.6922 GB, free: 73.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006488/1.113, allocations: 5.166 MB / 0.6972 GB, free: 72.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/1.113, allocations: 3.359 kB / 0.6972 GB, free: 72.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/1.113, allocations: 11.3 kB / 0.6972 GB, free: 72.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/1.13, allocations: 11.16 MB / 0.7081 GB, free: 67.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/1.13, allocations: 0.6562 kB / 0.7081 GB, free: 67.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/1.132, allocations: 275.9 kB / 0.7084 GB, free: 67.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/1.133, allocations: 1.401 MB / 0.7098 GB, free: 67.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001725/1.134, allocations: 67.78 kB / 0.7098 GB, free: 67.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003821/1.137, allocations: 5.135 MB / 0.7149 GB, free: 64.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.137, allocations: 3.906 kB / 0.7149 GB, free: 64.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009097/1.147, allocations: 8.548 MB / 0.7232 GB, free: 60.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.148, allocations: 0.7311 MB / 0.7239 GB, free: 59.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/1.148, allocations: 38.28 kB / 0.724 GB, free: 59.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007846/1.149, allocations: 96.45 kB / 0.7241 GB, free: 59.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/1.149, allocations: 243.1 kB / 0.7243 GB, free: 59.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/1.15, allocations: 78.05 kB / 0.7244 GB, free: 59.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009034/1.151, allocations: 0.7852 MB / 0.7251 GB, free: 59.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.151, allocations: 0 / 0.7251 GB, free: 59.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002517/1.153, allocations: 1.075 MB / 0.7262 GB, free: 59.12 MB / 394.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 () * Number of clocked 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.0003788/1.153, allocations: 212 kB / 0.7264 GB, free: 58.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006794/1.16, allocations: 5.147 MB / 0.7314 GB, free: 56.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.16, allocations: 0 / 0.7314 GB, free: 56.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003377/1.164, allocations: 2.469 MB / 0.7338 GB, free: 54.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/1.165, allocations: 315.9 kB / 0.7341 GB, free: 54.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.178, allocations: 11.18 MB / 0.745 GB, free: 44.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/1.18, allocations: 3.328 MB / 0.7483 GB, free: 41.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001557/1.182, allocations: 0.5975 MB / 0.7489 GB, free: 41.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/1.182, allocations: 110.8 kB / 0.749 GB, free: 41.09 MB / 394.7 MB Notification: Performance of SimCode: time 8.11e-07/1.182, allocations: 2.062 kB / 0.749 GB, free: 41.09 MB / 394.7 MB Notification: Performance of Templates: time 0.06019/1.242, allocations: 48.18 MB / 0.796 GB, free: 1.648 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1)