Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001077/0.001077, allocations: 103.6 kB / 16.51 MB, free: 6.645 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.001125/0.001125, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.302/1.302, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.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.001143/0.001143, allocations: 51.92 kB / 279.3 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.09133, allocations: 46.63 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01405/0.1054, allocations: 14.38 MB / 340.3 MB, free: 6.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009594/0.1151, allocations: 3.918 MB / 344.3 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003046/0.1182, allocations: 83.75 kB / 344.3 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.1297, allocations: 5.312 MB / 349.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00705/0.1367, allocations: 1.583 MB / 351.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.1402, allocations: 1.006 MB / 352.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008119/0.1483, allocations: 6.675 MB / 358.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01742/0.1658, allocations: 11.56 MB / 370.5 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005363/0.1712, allocations: 3.147 MB / 373.6 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007102/0.1783, allocations: 4.029 MB / 377.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002791/0.1812, allocations: 0.6953 MB / 378.4 MB, free: 236 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2015/0.3826, allocations: 0.8793 MB / 379.2 MB, free: 25.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003204/0.3859, allocations: 1.697 MB / 380.9 MB, free: 25.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008917/0.3948, allocations: 3.562 MB / 384.5 MB, free: 24.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01668/0.4115, allocations: 12.14 MB / 396.6 MB, free: 22.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.4116, allocations: 0 / 396.6 MB, free: 22.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4116, allocations: 0 / 396.6 MB, free: 22.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004732/0.4121, allocations: 0 / 396.6 MB, free: 22.05 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.03197/0.4441, allocations: 8.343 MB / 405 MB, free: 16.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.4442, allocations: 10.22 kB / 405 MB, free: 16.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03175/0.4759, allocations: 5.067 MB / 410.1 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009046/0.485, allocations: 3.548 MB / 413.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/0.4854, allocations: 0.5062 MB / 414.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003416/0.4888, allocations: 0.6651 MB / 414.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03004/0.5189, allocations: 10.48 MB / 425.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002107/0.5192, allocations: 3.562 kB / 425.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001578/0.5207, allocations: 286.8 kB / 425.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004186/0.5212, allocations: 387.5 kB / 425.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02123/0.5424, allocations: 9.637 MB / 435.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06168/0.6041, allocations: 31.86 MB / 467.4 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01911/0.6233, allocations: 22.92 MB / 490.3 MB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003277/0.6266, allocations: 1.945 MB / 492.3 MB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/0.6369, allocations: 6.25 MB / 498.5 MB, free: 5.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.637, allocations: 52 kB / 498.6 MB, free: 5.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 4.248e-06/0.6371, allocations: 0 / 498.6 MB, free: 5.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.006568/0.6436, allocations: 3.182 MB / 0.49 GB, free: 2.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.6437, allocations: 94.55 kB / 0.4901 GB, free: 1.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004626/0.6483, allocations: 2.615 MB / 0.4926 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.6485, allocations: 53.7 kB / 0.4927 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002043/0.6506, allocations: 3.112 MB / 0.4957 GB, free: 12.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005527/0.6511, allocations: 0.5527 MB / 0.4963 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/0.6524, allocations: 0.7975 MB / 0.4971 GB, free: 10.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6525, allocations: 301.1 kB / 0.4973 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.6547, allocations: 1.468 MB / 0.4988 GB, free: 9.016 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003261/0.658, allocations: 3.255 MB / 0.502 GB, free: 4.934 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005977/0.664, allocations: 4.828 MB / 0.5067 GB, free: 15.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.972e-05/0.6641, allocations: 16 kB / 0.5067 GB, free: 15.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008529/0.6726, allocations: 5.089 MB / 0.5117 GB, free: 10.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/0.6727, allocations: 32 kB / 0.5117 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.705e-05/0.6728, allocations: 60 kB / 0.5117 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008742/0.6737, allocations: 340.6 kB / 0.5121 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00308/0.6767, allocations: 0.8861 MB / 0.5129 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005117/0.6819, allocations: 4.638 MB / 0.5175 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/0.6856, allocations: 0.5378 MB / 0.518 GB, free: 4.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005261/0.6862, allocations: 212 kB / 0.5182 GB, free: 3.91 MB / 430.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.004587/0.6908, allocations: 2.332 MB / 0.5205 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004947/0.6913, allocations: 221.1 kB / 0.5207 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/0.6957, allocations: 2.33 MB / 0.5229 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.6957, allocations: 21.91 kB / 0.523 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.6957, allocations: 4 kB / 0.523 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.6957, allocations: 11.91 kB / 0.523 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.7065, allocations: 5.323 MB / 0.5282 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/0.7065, allocations: 4.094 kB / 0.5282 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.7079, allocations: 262 kB / 0.5284 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007359/0.7086, allocations: 256.8 kB / 0.5287 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.7088, allocations: 35.98 kB / 0.5287 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004959/0.7137, allocations: 4.527 MB / 0.5331 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7138, allocations: 0 / 0.5331 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005257/0.719, allocations: 3.303 MB / 0.5364 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/0.7203, allocations: 465.9 kB / 0.5368 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/0.7207, allocations: 32 kB / 0.5368 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.7217, allocations: 95.97 kB / 0.5369 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.722, allocations: 105.3 kB / 0.537 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.416e-05/0.7221, allocations: 36 kB / 0.5371 GB, free: 332 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.2022/0.9243, allocations: 1.723 MB / 0.5387 GB, free: 156.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.193e-06/0.9244, allocations: 0.5312 kB / 0.5387 GB, free: 156.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006446/0.9308, allocations: 1.523 MB / 0.5402 GB, free: 156.1 MB / 446.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.0004387/0.9313, allocations: 174.5 kB / 0.5404 GB, free: 156 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005854/0.9372, allocations: 3.515 MB / 0.5438 GB, free: 155.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.9372, allocations: 1.344 kB / 0.5438 GB, free: 155.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.9392, allocations: 1.26 MB / 0.5451 GB, free: 155.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/0.9422, allocations: 466.2 kB / 0.5455 GB, free: 155.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/0.9603, allocations: 12.74 MB / 0.558 GB, free: 149.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003381/0.9637, allocations: 4.184 MB / 0.562 GB, free: 147.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003349/0.9671, allocations: 1.283 MB / 0.5633 GB, free: 147.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/0.9675, allocations: 191.5 kB / 0.5635 GB, free: 147.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.392e-06/0.9675, allocations: 0 / 0.5635 GB, free: 147.3 MB / 446.1 MB Notification: Performance of Templates: time 0.04853/1.016, allocations: 29.73 MB / 0.5925 GB, free: 122.5 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1)