Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.00939/0.00939, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.002086/0.002086, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001203/0.001203, allocations: 48.41 kB / 326.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.089, allocations: 46.62 MB / 373.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.1907/0.2797, allocations: 14.61 MB / 387.8 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009688/0.2895, allocations: 3.941 MB / 391.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00312/0.2927, allocations: 87.75 kB / 391.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01172/0.3044, allocations: 5.618 MB / 397.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007254/0.3117, allocations: 1.756 MB / 399.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.3149, allocations: 1.081 MB / 400.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008952/0.3239, allocations: 6.753 MB / 407 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01716/0.3411, allocations: 13.74 MB / 420.8 MB, free: 16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005564/0.3467, allocations: 3.502 MB / 424.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007088/0.3538, allocations: 4.115 MB / 428.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002172/0.356, allocations: 0.9141 MB / 429.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.3591, allocations: 1.105 MB / 430.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00162/0.3608, allocations: 1.917 MB / 432.3 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004567/0.3654, allocations: 3.801 MB / 436.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.3765, allocations: 12.38 MB / 448.5 MB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3766, allocations: 4 kB / 448.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3766, allocations: 0 / 448.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002468/0.3768, allocations: 3.938 kB / 448.5 MB, free: 4.172 MB / 366.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.01979/0.3966, allocations: 8.291 MB / 456.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3967, allocations: 8.031 kB / 456.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0305/0.4272, allocations: 5.08 MB / 461.9 MB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007938/0.4352, allocations: 3.535 MB / 465.4 MB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005236/0.4357, allocations: 0.5097 MB / 465.9 MB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002542/0.4383, allocations: 0.6717 MB / 466.6 MB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0252/0.4635, allocations: 10.48 MB / 477.1 MB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002252/0.4637, allocations: 11.89 kB / 477.1 MB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001495/0.4652, allocations: 299.8 kB / 477.4 MB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003498/0.4656, allocations: 378.6 kB / 477.8 MB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/0.4845, allocations: 9.629 MB / 487.4 MB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06064/0.5451, allocations: 31.5 MB / 0.5067 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03346/0.5787, allocations: 22.91 MB / 0.5291 GB, free: 2.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005765/0.5845, allocations: 1.941 MB / 0.531 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01937/0.6039, allocations: 6.226 MB / 0.5371 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.632e-05/0.604, allocations: 56 kB / 0.5371 GB, free: 9.453 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 7.193e-06/0.6041, allocations: 0 / 0.5371 GB, free: 9.453 MB / 478.1 MB Notification: Performance of matching and sorting (n=150): time 0.01293/0.617, allocations: 3.173 MB / 0.5402 GB, free: 6.227 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.6172, allocations: 94.55 kB / 0.5403 GB, free: 6.113 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008231/0.6254, allocations: 2.612 MB / 0.5429 GB, free: 3.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004217/0.6259, allocations: 53.7 kB / 0.5429 GB, free: 3.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003826/0.6298, allocations: 3.117 MB / 0.546 GB, free: 256 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2363/0.8661, allocations: 0.5428 MB / 0.5465 GB, free: 130 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/0.8677, allocations: 0.7998 MB / 0.5473 GB, free: 130 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.8677, allocations: 303.8 kB / 0.5476 GB, free: 129.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.8701, allocations: 1.468 MB / 0.549 GB, free: 129.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/0.8729, allocations: 3.26 MB / 0.5522 GB, free: 127.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004834/0.8777, allocations: 4.817 MB / 0.5569 GB, free: 125.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.166e-05/0.8778, allocations: 18.23 kB / 0.5569 GB, free: 125.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007777/0.8856, allocations: 5.093 MB / 0.5619 GB, free: 124 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.8857, allocations: 34.44 kB / 0.5619 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.333e-05/0.8858, allocations: 61.62 kB / 0.562 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007611/0.8865, allocations: 339.3 kB / 0.5623 GB, free: 124 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/0.8893, allocations: 0.8865 MB / 0.5632 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00468/0.894, allocations: 5.052 MB / 0.5681 GB, free: 120 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003627/0.8976, allocations: 0.5429 MB / 0.5686 GB, free: 119.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005104/0.8981, allocations: 211.1 kB / 0.5688 GB, free: 119.7 MB / 478.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.004463/0.9026, allocations: 2.333 MB / 0.5711 GB, free: 118.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/0.9031, allocations: 220.9 kB / 0.5713 GB, free: 118.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003602/0.9067, allocations: 2.321 MB / 0.5736 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.9067, allocations: 15.88 kB / 0.5736 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.9068, allocations: 3.969 kB / 0.5736 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.9068, allocations: 11.45 kB / 0.5736 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007326/0.9141, allocations: 5.339 MB / 0.5788 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.9141, allocations: 1.531 kB / 0.5788 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.9152, allocations: 262.9 kB / 0.5791 GB, free: 115.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000586/0.9157, allocations: 261.5 kB / 0.5793 GB, free: 115.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.651e-05/0.9158, allocations: 36.53 kB / 0.5794 GB, free: 115.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003676/0.9195, allocations: 4.936 MB / 0.5842 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9195, allocations: 0 / 0.5842 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/0.9232, allocations: 3.306 MB / 0.5874 GB, free: 110 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/0.924, allocations: 462.7 kB / 0.5878 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.9242, allocations: 31.78 kB / 0.5879 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009871/0.9252, allocations: 100.5 kB / 0.588 GB, free: 109.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.9254, allocations: 108.2 kB / 0.5881 GB, free: 109.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.113e-05/0.9255, allocations: 43.31 kB / 0.5881 GB, free: 109.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001959/0.9275, allocations: 1.716 MB / 0.5898 GB, free: 109 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.9275, allocations: 0 / 0.5898 GB, free: 109 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00427/0.9317, allocations: 1.528 MB / 0.5913 GB, free: 108 MB / 478.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.0003158/0.9321, allocations: 168.5 kB / 0.5914 GB, free: 107.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004557/0.9366, allocations: 3.513 MB / 0.5949 GB, free: 104.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.9366, allocations: 3.516 kB / 0.5949 GB, free: 104.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.938, allocations: 1.264 MB / 0.5961 GB, free: 103.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.94, allocations: 0.4933 MB / 0.5966 GB, free: 103.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.9534, allocations: 9.852 MB / 0.6062 GB, free: 94.15 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002935/0.9564, allocations: 4.183 MB / 0.6103 GB, free: 89.94 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002848/0.9592, allocations: 1.283 MB / 0.6116 GB, free: 88.65 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000438/0.9597, allocations: 183.4 kB / 0.6117 GB, free: 88.47 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.9597, allocations: 0 / 0.6117 GB, free: 88.47 MB / 478.1 MB Notification: Performance of Templates: time 0.04483/1.005, allocations: 31.77 MB / 0.6428 GB, free: 56.77 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1)