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.007405/0.007405, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001204/0.001204, allocations: 198 kB / 16.68 MB, free: 5.969 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.44/1.44, allocations: 205.1 MB / 222.6 MB, free: 4.547 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.001164/0.001164, allocations: 54.17 kB / 326.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07682/0.07799, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01357/0.09159, allocations: 14.62 MB / 387.8 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008983/0.1006, allocations: 3.945 MB / 391.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.1029, allocations: 87.75 kB / 391.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01127/0.1141, allocations: 5.597 MB / 397.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005729/0.1199, allocations: 1.745 MB / 399.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.1241, allocations: 1.091 MB / 400.3 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008929/0.133, allocations: 6.74 MB / 407 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01925/0.1523, allocations: 13.73 MB / 420.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004524/0.1569, allocations: 3.498 MB / 424.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006008/0.1629, allocations: 4.119 MB / 428.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002432/0.1654, allocations: 0.9141 MB / 429.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/0.1685, allocations: 1.097 MB / 430.4 MB, free: 7.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001871/0.1704, allocations: 1.933 MB / 432.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005216/0.1756, allocations: 3.797 MB / 436.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.1888, allocations: 12.42 MB / 448.5 MB, free: 5.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.1889, allocations: 0 / 448.5 MB, free: 5.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.1889, allocations: 0 / 448.5 MB, free: 5.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003949/0.1893, allocations: 3.938 kB / 448.5 MB, free: 5.629 MB / 382.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.2584/0.4477, allocations: 8.429 MB / 456.9 MB, free: 63.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/0.4478, allocations: 9.938 kB / 457 MB, free: 63.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04644/0.4942, allocations: 5.106 MB / 462.1 MB, free: 62.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008247/0.5025, allocations: 3.562 MB / 465.6 MB, free: 60.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004022/0.503, allocations: 0.5087 MB / 466.1 MB, free: 60.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002273/0.5052, allocations: 0.6659 MB / 466.8 MB, free: 60.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01998/0.5252, allocations: 10.47 MB / 477.3 MB, free: 54.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.5254, allocations: 11.8 kB / 477.3 MB, free: 54.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006693/0.5261, allocations: 285.1 kB / 477.6 MB, free: 53.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002717/0.5264, allocations: 389.6 kB / 477.9 MB, free: 53.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01396/0.5403, allocations: 9.635 MB / 487.6 MB, free: 44.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03954/0.5799, allocations: 31.59 MB / 0.507 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01769/0.5976, allocations: 22.9 MB / 0.5294 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/0.601, allocations: 1.94 MB / 0.5313 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/0.6117, allocations: 6.246 MB / 0.5374 GB, free: 9.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.6118, allocations: 52 kB / 0.5374 GB, free: 9.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 3.546e-06/0.6118, allocations: 3.938 kB / 0.5374 GB, free: 9.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.006509/0.6183, allocations: 3.182 MB / 0.5405 GB, free: 6.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.6184, allocations: 90.55 kB / 0.5406 GB, free: 5.969 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004179/0.6226, allocations: 2.62 MB / 0.5432 GB, free: 3.316 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.6227, allocations: 53.7 kB / 0.5432 GB, free: 3.258 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.6247, allocations: 3.24 MB / 0.5464 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/0.6252, allocations: 0.5774 MB / 0.5469 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/0.6263, allocations: 0.8059 MB / 0.5477 GB, free: 14.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.6264, allocations: 304.9 kB / 0.548 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/0.6287, allocations: 1.464 MB / 0.5494 GB, free: 12.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003427/0.6321, allocations: 3.258 MB / 0.5526 GB, free: 8.723 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006611/0.6387, allocations: 4.824 MB / 0.5573 GB, free: 3.047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.854e-05/0.6388, allocations: 20 kB / 0.5574 GB, free: 3.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008978/0.6478, allocations: 5.099 MB / 0.5623 GB, free: 13.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.793e-05/0.6479, allocations: 32 kB / 0.5624 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/0.648, allocations: 60 kB / 0.5624 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009487/0.649, allocations: 346.5 kB / 0.5628 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/0.652, allocations: 0.8813 MB / 0.5636 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00558/0.6576, allocations: 5.066 MB / 0.5686 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/0.6609, allocations: 0.551 MB / 0.5691 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004584/0.6614, allocations: 212 kB / 0.5693 GB, free: 6.496 MB / 446.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.005079/0.6665, allocations: 2.331 MB / 0.5716 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000685/0.6672, allocations: 234.5 kB / 0.5718 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00428/0.6715, allocations: 2.324 MB / 0.5741 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.6715, allocations: 19.94 kB / 0.5741 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/0.6716, allocations: 8.172 kB / 0.5741 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.6716, allocations: 3.984 kB / 0.5741 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.6836, allocations: 5.348 MB / 0.5793 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.449e-05/0.6836, allocations: 4 kB / 0.5793 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.685, allocations: 251.7 kB / 0.5796 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007489/0.6858, allocations: 261.4 kB / 0.5798 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/0.686, allocations: 35.98 kB / 0.5799 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005444/0.6915, allocations: 4.949 MB / 0.5847 GB, free: 6.352 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6915, allocations: 3.938 kB / 0.5847 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.6966, allocations: 3.314 MB / 0.5879 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.6977, allocations: 479.1 kB / 0.5884 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005732/0.6983, allocations: 28 kB / 0.5884 GB, free: 2.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.6997, allocations: 103.9 kB / 0.5885 GB, free: 2.379 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.7, allocations: 101.3 kB / 0.5886 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.7001, allocations: 40 kB / 0.5886 GB, free: 2.238 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003242/0.7033, allocations: 1.714 MB / 0.5903 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7033, allocations: 0 / 0.5903 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005041/0.7084, allocations: 1.553 MB / 0.5918 GB, free: 14.95 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.0004428/0.7089, allocations: 166.9 kB / 0.592 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005823/0.7147, allocations: 3.521 MB / 0.5954 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.7147, allocations: 4 kB / 0.5954 GB, free: 11.24 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.7166, allocations: 1.262 MB / 0.5967 GB, free: 9.953 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/0.7197, allocations: 495.9 kB / 0.5971 GB, free: 9.473 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/0.7403, allocations: 10.02 MB / 0.6069 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006481/0.7468, allocations: 4.186 MB / 0.611 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00414/0.751, allocations: 1.291 MB / 0.6123 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007809/0.7518, allocations: 179.4 kB / 0.6124 GB, free: 9.699 MB / 494.1 MB Notification: Performance of SimCode: time 1.312e-06/0.7518, allocations: 0 / 0.6124 GB, free: 9.699 MB / 494.1 MB Notification: Performance of Templates: time 0.2777/1.03, allocations: 31.76 MB / 0.6435 GB, free: 167 MB / 0.4981 GB 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)