Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2022, allocations: 46.64 MB / 325.3 MB, free: 2.07 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01069/0.213, allocations: 10.09 MB / 335.4 MB, free: 9.957 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006261/0.2193, allocations: 2.8 MB / 338.2 MB, free: 7.145 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.2207, allocations: 63.81 kB / 338.3 MB, free: 7.082 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008833/0.2295, allocations: 4.209 MB / 342.5 MB, free: 2.855 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003767/0.2333, allocations: 1.045 MB / 343.5 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.2355, allocations: 0.8258 MB / 344.3 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00498/0.2405, allocations: 4.245 MB / 348.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01566/0.2562, allocations: 11.04 MB / 359.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00353/0.2598, allocations: 2.451 MB / 362.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003856/0.2636, allocations: 2.791 MB / 364.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001562/0.2652, allocations: 0.6758 MB / 365.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.2677, allocations: 0.8943 MB / 366.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.269, allocations: 1.321 MB / 367.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003067/0.2721, allocations: 2.669 MB / 370.4 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00837/0.2805, allocations: 9.017 MB / 379.5 MB, free: 13.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.2805, allocations: 4 kB / 379.5 MB, free: 13.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2805, allocations: 4 kB / 379.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001724/0.2807, allocations: 0 / 379.5 MB, free: 13.66 MB / 318.1 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.01407/0.2948, allocations: 5.574 MB / 385 MB, free: 8.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2949, allocations: 12.03 kB / 385 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/0.3088, allocations: 2.384 MB / 387.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/0.3134, allocations: 2.377 MB / 389.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.3138, allocations: 365.9 kB / 390.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.315, allocations: 480 kB / 390.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/0.3292, allocations: 6.64 MB / 397.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/0.3294, allocations: 0 / 397.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007843/0.3302, allocations: 200 kB / 397.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002126/0.3304, allocations: 226.1 kB / 397.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.341, allocations: 6.118 MB / 403.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0326/0.3736, allocations: 22.62 MB / 426.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.3842, allocations: 10.81 MB / 437.2 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.3856, allocations: 0.8149 MB / 438 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005354/0.391, allocations: 3.39 MB / 441.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.391, allocations: 38.56 kB / 441.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.391, allocations: 0 / 441.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006585/0.3917, allocations: 231.9 kB / 441.7 MB, free: 12.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.3918, allocations: 59.28 kB / 441.8 MB, free: 12.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003398/0.3952, allocations: 2.133 MB / 443.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3952, allocations: 25.7 kB / 443.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.3966, allocations: 2.386 MB / 446.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.8e-05/0.3968, allocations: 75.66 kB / 446.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007741/0.3975, allocations: 0.5427 MB / 446.9 MB, free: 7.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.3977, allocations: 353.9 kB / 447.3 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.3989, allocations: 0.8167 MB / 448.1 MB, free: 5.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.4009, allocations: 2.231 MB / 450.3 MB, free: 3.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1774/0.5784, allocations: 2.962 MB / 453.3 MB, free: 107.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.786e-05/0.5785, allocations: 14.19 kB / 453.3 MB, free: 107.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.0058/0.5843, allocations: 3.014 MB / 456.3 MB, free: 107.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.5844, allocations: 31.22 kB / 456.3 MB, free: 107.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-05/0.5845, allocations: 49.84 kB / 456.4 MB, free: 107.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-05/0.5846, allocations: 68.92 kB / 456.4 MB, free: 107.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.5863, allocations: 0.5753 MB / 457 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001021/0.5865, allocations: 102.9 kB / 457.1 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.5886, allocations: 397.6 kB / 457.5 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.5889, allocations: 144.7 kB / 457.7 MB, free: 107 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002216/0.5911, allocations: 1.725 MB / 459.4 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.5914, allocations: 137.3 kB / 459.5 MB, free: 106.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.5918, allocations: 245.4 kB / 459.8 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/0.5919, allocations: 90.89 kB / 459.8 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5919, allocations: 0.7188 kB / 459.8 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.592, allocations: 3.234 kB / 459.8 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/0.5957, allocations: 3.052 MB / 462.9 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5958, allocations: 3.938 kB / 462.9 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.5958, allocations: 19.72 kB / 462.9 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5959, allocations: 0 / 462.9 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.5959, allocations: 3.938 kB / 462.9 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5959, allocations: 3.938 kB / 462.9 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5959, allocations: 1.875 kB / 462.9 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.5963, allocations: 367.2 kB / 463.3 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.5965, allocations: 221.5 kB / 463.5 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.5967, allocations: 3.938 kB / 463.5 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.5972, allocations: 31.16 kB / 463.5 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.5972, allocations: 7.75 kB / 463.5 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.5972, allocations: 3.844 kB / 463.5 MB, free: 104.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001491/0.5987, allocations: 1.401 MB / 465 MB, free: 103.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5987, allocations: 4.062 kB / 465 MB, free: 103.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002402/0.6011, allocations: 0.985 MB / 465.9 MB, free: 103.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/0.6014, allocations: 148.2 kB / 466.1 MB, free: 103.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.6032, allocations: 1.466 MB / 467.6 MB, free: 102.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6032, allocations: 4 kB / 467.6 MB, free: 102.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.108e-05/0.6033, allocations: 36.39 kB / 467.6 MB, free: 102.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.6048, allocations: 325.2 kB / 467.9 MB, free: 102.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.6153, allocations: 6.17 MB / 474.1 MB, free: 98.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/0.6175, allocations: 3.137 MB / 477.2 MB, free: 95.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001743/0.6192, allocations: 0.7866 MB / 478 MB, free: 95.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.6194, allocations: 104.3 kB / 478.1 MB, free: 94.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.713e-06/0.6194, allocations: 3.938 kB / 478.1 MB, free: 94.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02882/0.6482, allocations: 17.24 MB / 495.4 MB, free: 77.72 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1)