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.006142/0.006143, allocations: 94.8 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.001236/0.001236, allocations: 205.9 kB / 16.68 MB, free: 5.973 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.476/1.476, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.00116/0.00116, allocations: 53.28 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09196/0.09313, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01448/0.1077, allocations: 14.61 MB / 387.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007882/0.1156, allocations: 3.945 MB / 391.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.1175, allocations: 83.81 kB / 391.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01191/0.1294, allocations: 5.612 MB / 397.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006887/0.1363, allocations: 1.753 MB / 399.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.1397, allocations: 1.083 MB / 400.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009058/0.1488, allocations: 6.748 MB / 407 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01899/0.1678, allocations: 13.74 MB / 420.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005259/0.1731, allocations: 3.498 MB / 424.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008131/0.1813, allocations: 4.123 MB / 428.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002797/0.1841, allocations: 0.918 MB / 429.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/0.1875, allocations: 1.097 MB / 430.4 MB, free: 7.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002329/0.1899, allocations: 1.929 MB / 432.3 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005338/0.1952, allocations: 3.785 MB / 436.1 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.2089, allocations: 12.44 MB / 448.5 MB, free: 5.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.209, allocations: 0 / 448.5 MB, free: 5.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.209, allocations: 3.938 kB / 448.5 MB, free: 5.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003145/0.2093, allocations: 0 / 448.5 MB, free: 5.59 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.2306/0.4399, allocations: 8.424 MB / 457 MB, free: 62.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4399, allocations: 13.67 kB / 457 MB, free: 62.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0333/0.4732, allocations: 5.106 MB / 462.1 MB, free: 62.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.4839, allocations: 3.558 MB / 465.6 MB, free: 60.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008586/0.4848, allocations: 0.5096 MB / 466.2 MB, free: 60.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004004/0.4888, allocations: 0.6661 MB / 466.8 MB, free: 59.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02969/0.5185, allocations: 10.48 MB / 477.3 MB, free: 54.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003296/0.5189, allocations: 13.31 kB / 477.3 MB, free: 54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002175/0.5211, allocations: 287.9 kB / 477.6 MB, free: 53.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003557/0.5215, allocations: 382.1 kB / 478 MB, free: 53.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/0.5406, allocations: 9.637 MB / 487.6 MB, free: 44.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05821/0.5989, allocations: 31.6 MB / 0.507 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01889/0.6178, allocations: 22.89 MB / 0.5294 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004001/0.6219, allocations: 1.946 MB / 0.5313 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/0.6368, allocations: 6.242 MB / 0.5374 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.6369, allocations: 52 kB / 0.5374 GB, free: 9.164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 5.491e-06/0.6369, allocations: 4 kB / 0.5374 GB, free: 9.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.007358/0.6443, allocations: 3.182 MB / 0.5405 GB, free: 5.926 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.6444, allocations: 90.55 kB / 0.5406 GB, free: 5.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005141/0.6496, allocations: 2.624 MB / 0.5432 GB, free: 3.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.6498, allocations: 57.58 kB / 0.5433 GB, free: 3.098 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002462/0.6522, allocations: 3.24 MB / 0.5464 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007172/0.653, allocations: 0.5736 MB / 0.547 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001628/0.6546, allocations: 0.802 MB / 0.5478 GB, free: 14.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6547, allocations: 308.9 kB / 0.5481 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002549/0.6573, allocations: 1.464 MB / 0.5495 GB, free: 12.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003777/0.6611, allocations: 3.253 MB / 0.5527 GB, free: 8.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00592/0.667, allocations: 4.828 MB / 0.5574 GB, free: 2.891 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.969e-05/0.6671, allocations: 22.62 kB / 0.5574 GB, free: 2.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008951/0.6761, allocations: 5.095 MB / 0.5624 GB, free: 13.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.6761, allocations: 32 kB / 0.5624 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.531e-05/0.6762, allocations: 63.98 kB / 0.5625 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008928/0.6771, allocations: 346.6 kB / 0.5628 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/0.6803, allocations: 0.8774 MB / 0.5637 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005952/0.6863, allocations: 5.063 MB / 0.5686 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004007/0.6903, allocations: 0.5471 MB / 0.5691 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006447/0.691, allocations: 212 kB / 0.5693 GB, free: 6.352 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.004602/0.6956, allocations: 2.331 MB / 0.5716 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007799/0.6964, allocations: 234.5 kB / 0.5718 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005146/0.7015, allocations: 2.332 MB / 0.5741 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.724e-05/0.7016, allocations: 19.94 kB / 0.5741 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.7016, allocations: 4 kB / 0.5741 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.072e-05/0.7016, allocations: 11.97 kB / 0.5741 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.7143, allocations: 5.337 MB / 0.5794 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/0.7144, allocations: 4 kB / 0.5794 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.7157, allocations: 255.6 kB / 0.5796 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007289/0.7165, allocations: 257.5 kB / 0.5798 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/0.7167, allocations: 31.98 kB / 0.5799 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005195/0.7219, allocations: 4.945 MB / 0.5847 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.7219, allocations: 3.938 kB / 0.5847 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005312/0.7272, allocations: 3.314 MB / 0.5879 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.7285, allocations: 479.1 kB / 0.5884 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005245/0.729, allocations: 28.19 kB / 0.5884 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.7305, allocations: 107.9 kB / 0.5885 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.7308, allocations: 101.2 kB / 0.5886 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.7309, allocations: 47.98 kB / 0.5887 GB, free: 2.086 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003119/0.734, allocations: 1.72 MB / 0.5904 GB, free: 360 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.734, allocations: 0 / 0.5904 GB, free: 360 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.004897/0.7389, allocations: 1.541 MB / 0.5919 GB, free: 14.8 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.000388/0.7393, allocations: 166.9 kB / 0.592 GB, free: 14.63 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005889/0.7452, allocations: 3.525 MB / 0.5955 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7453, allocations: 4 kB / 0.5955 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.7472, allocations: 1.262 MB / 0.5967 GB, free: 9.805 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.7501, allocations: 0.4937 MB / 0.5972 GB, free: 9.312 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/0.7723, allocations: 10.02 MB / 0.607 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007182/0.7795, allocations: 4.179 MB / 0.611 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003854/0.7834, allocations: 1.291 MB / 0.6123 GB, free: 9.727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007354/0.7842, allocations: 179.4 kB / 0.6125 GB, free: 9.551 MB / 494.1 MB Notification: Performance of SimCode: time 1.233e-06/0.7842, allocations: 7.875 kB / 0.6125 GB, free: 9.543 MB / 494.1 MB Notification: Performance of Templates: time 0.2834/1.068, allocations: 31.75 MB / 0.6435 GB, free: 166.6 MB / 0.4981 GB 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)