Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.427/1.427, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.001302/0.001302, allocations: 55.91 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.225, allocations: 46.63 MB / 324.9 MB, free: 2.152 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01383/0.2389, allocations: 14.38 MB / 339.2 MB, free: 5.828 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007819/0.2467, allocations: 3.895 MB / 343.1 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002912/0.2497, allocations: 83.75 kB / 343.2 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01209/0.2618, allocations: 5.324 MB / 348.5 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006502/0.2683, allocations: 1.567 MB / 350.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.2719, allocations: 1.002 MB / 351.1 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01014/0.2821, allocations: 6.699 MB / 357.8 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02224/0.3043, allocations: 16.02 MB / 373.8 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005125/0.3095, allocations: 3.541 MB / 377.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007936/0.3175, allocations: 4.162 MB / 381.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003027/0.3205, allocations: 0.9141 MB / 382.4 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.3245, allocations: 1.105 MB / 383.5 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003312/0.3279, allocations: 1.94 MB / 385.5 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006907/0.3348, allocations: 3.793 MB / 389.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.3513, allocations: 12.31 MB / 401.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.3513, allocations: 0 / 401.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3514, allocations: 7.938 kB / 401.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000355/0.3517, allocations: 0 / 401.6 MB, free: 7.207 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02274/0.3745, allocations: 8.33 MB / 409.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3745, allocations: 11.89 kB / 409.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03044/0.405, allocations: 5.076 MB / 415 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008454/0.4135, allocations: 3.539 MB / 418.5 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/0.4139, allocations: 0.5097 MB / 419.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002496/0.4164, allocations: 0.6716 MB / 419.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/0.4374, allocations: 10.48 MB / 430.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.4376, allocations: 11.89 kB / 430.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007456/0.4384, allocations: 287.9 kB / 430.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003422/0.4387, allocations: 394.6 kB / 430.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01678/0.4555, allocations: 9.633 MB / 440.5 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2405/0.6961, allocations: 31.86 MB / 472.4 MB, free: 92.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.7088, allocations: 22.91 MB / 495.3 MB, free: 69.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/0.7114, allocations: 1.943 MB / 497.2 MB, free: 68.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008013/0.7194, allocations: 6.247 MB / 0.4917 GB, free: 63.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.7195, allocations: 58.69 kB / 0.4917 GB, free: 63.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 3.357e-06/0.7195, allocations: 0 / 0.4917 GB, free: 63.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=150): time 0.00552/0.725, allocations: 3.164 MB / 0.4948 GB, free: 62.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.7251, allocations: 94.17 kB / 0.4949 GB, free: 62.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/0.7286, allocations: 2.62 MB / 0.4975 GB, free: 59.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.7288, allocations: 45.7 kB / 0.4975 GB, free: 59.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.7303, allocations: 3.116 MB / 0.5006 GB, free: 56.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000498/0.7308, allocations: 0.5543 MB / 0.5011 GB, free: 56.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009463/0.7317, allocations: 0.8014 MB / 0.5019 GB, free: 55.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.7318, allocations: 301.1 kB / 0.5022 GB, free: 55.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.7334, allocations: 1.468 MB / 0.5036 GB, free: 53.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/0.7356, allocations: 3.261 MB / 0.5068 GB, free: 49.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004089/0.7397, allocations: 4.825 MB / 0.5115 GB, free: 43.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.451e-05/0.7398, allocations: 16 kB / 0.5115 GB, free: 43.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006565/0.7463, allocations: 5.098 MB / 0.5165 GB, free: 38.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.7464, allocations: 32 kB / 0.5165 GB, free: 38.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.937e-05/0.7465, allocations: 60 kB / 0.5166 GB, free: 38.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007084/0.7472, allocations: 332.4 kB / 0.5169 GB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/0.7498, allocations: 0.8852 MB / 0.5178 GB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004013/0.7538, allocations: 5.056 MB / 0.5227 GB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/0.7572, allocations: 0.5417 MB / 0.5232 GB, free: 31.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006415/0.7579, allocations: 216 kB / 0.5234 GB, free: 31.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003591/0.7615, allocations: 2.331 MB / 0.5257 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004966/0.762, allocations: 217.2 kB / 0.5259 GB, free: 28.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/0.7654, allocations: 2.328 MB / 0.5282 GB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.7654, allocations: 19.98 kB / 0.5282 GB, free: 26.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.7655, allocations: 4 kB / 0.5282 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.7655, allocations: 7.969 kB / 0.5282 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007476/0.773, allocations: 5.341 MB / 0.5334 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.773, allocations: 0 / 0.5334 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.7741, allocations: 255.7 kB / 0.5337 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005701/0.7747, allocations: 263.5 kB / 0.5339 GB, free: 20.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.252e-05/0.7748, allocations: 32 kB / 0.534 GB, free: 20.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/0.7785, allocations: 4.945 MB / 0.5388 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7786, allocations: 4.031 kB / 0.5388 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003864/0.7824, allocations: 3.305 MB / 0.542 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009138/0.7834, allocations: 465.8 kB / 0.5425 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.7837, allocations: 28.06 kB / 0.5425 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.7847, allocations: 95.91 kB / 0.5426 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.785, allocations: 109.2 kB / 0.5427 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.164e-05/0.785, allocations: 47.88 kB / 0.5427 GB, free: 11.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002051/0.7871, allocations: 1.714 MB / 0.5444 GB, free: 9.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7871, allocations: 4 kB / 0.5444 GB, free: 9.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004218/0.7913, allocations: 1.523 MB / 0.5459 GB, free: 7.855 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004064/0.7918, allocations: 165.5 kB / 0.5461 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006077/0.7979, allocations: 3.813 MB / 0.5498 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/0.7979, allocations: 4.656 kB / 0.5498 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.7998, allocations: 1.265 MB / 0.551 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/0.8032, allocations: 0.4894 MB / 0.5515 GB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02443/0.8276, allocations: 12.74 MB / 0.5639 GB, free: 5.344 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007618/0.8353, allocations: 4.183 MB / 0.568 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.004606/0.84, allocations: 1.287 MB / 0.5693 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/0.8409, allocations: 179.3 kB / 0.5695 GB, free: 15.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.8409, allocations: 0 / 0.5695 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Templates: time 0.06224/0.9032, allocations: 30.82 MB / 0.5996 GB, free: 0.8516 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1)