Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) 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(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 114.2 kB / 17.69 MB, free: 5.309 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.001686/0.001686, allocations: 191 kB / 18.63 MB, free: 4.375 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.591/1.591, allocations: 205.1 MB / 224.5 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1915/0.1915, allocations: 37.99 MB / 309.8 MB, free: 5.988 MB / 254.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.001482/0.001482, allocations: 63.91 kB / 376.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3066, allocations: 55.24 MB / 432 MB, free: 19.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.00571/0.3123, allocations: 4.561 MB / 436.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002261/0.3146, allocations: 1.602 MB / 438.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.3148, allocations: 19.88 kB / 438.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008011/0.3157, allocations: 286.6 kB / 438.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000466/0.3161, allocations: 270.6 kB / 438.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.3168, allocations: 255.4 kB / 439 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005383/0.3173, allocations: 0.604 MB / 439.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.3177, allocations: 256.2 kB / 439.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.3181, allocations: 267 kB / 440.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004418/0.3185, allocations: 330.9 kB / 440.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.3186, allocations: 36 kB / 440.5 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.3188, allocations: 135.8 kB / 440.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.319, allocations: 227.4 kB / 440.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.3192, allocations: 242.8 kB / 441.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.3198, allocations: 0.6013 MB / 441.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3198, allocations: 0 / 441.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3198, allocations: 0 / 441.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3198, allocations: 0 / 441.7 MB, free: 9.832 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001219/0.3211, allocations: 0.766 MB / 442.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3211, allocations: 15.83 kB / 442.4 MB, free: 9.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/0.3217, allocations: 92.22 kB / 442.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/0.3223, allocations: 420 kB / 442.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.3224, allocations: 29.38 kB / 443 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.3225, allocations: 56.02 kB / 443 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/0.3233, allocations: 0.6677 MB / 443.7 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.3233, allocations: 4 kB / 443.7 MB, free: 7.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.3234, allocations: 16 kB / 443.7 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.3235, allocations: 48.97 kB / 443.8 MB, free: 7.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006111/0.3242, allocations: 491.5 kB / 444.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.327, allocations: 3.144 MB / 447.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.3276, allocations: 245.3 kB / 447.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.3277, allocations: 117.7 kB / 447.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.971e-05/0.3278, allocations: 15.94 kB / 447.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3278, allocations: 30.56 kB / 447.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.953e-06/0.3278, allocations: 0 / 447.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001441/0.3293, allocations: 0.901 MB / 448.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3293, allocations: 77.11 kB / 448.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.3296, allocations: 344.4 kB / 449.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3296, allocations: 29.7 kB / 449.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3297, allocations: 287.1 kB / 449.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.3298, allocations: 90.73 kB / 449.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3299, allocations: 86.03 kB / 449.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.33, allocations: 358.7 kB / 449.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.3302, allocations: 124.8 kB / 450.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.3304, allocations: 329.1 kB / 450.4 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.3308, allocations: 0.4885 MB / 450.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3309, allocations: 4 kB / 450.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001053/0.3319, allocations: 0.5919 MB / 451.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3319, allocations: 8 kB / 451.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005797/0.3325, allocations: 337.6 kB / 451.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/0.333, allocations: 118.2 kB / 451.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.3332, allocations: 83.83 kB / 452 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.3361, allocations: 3.285 MB / 455.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.3364, allocations: 12 kB / 455.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.3364, allocations: 24 kB / 455.3 MB, free: 11.22 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002752/0.3367, allocations: 213.6 kB / 455.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.3368, allocations: 39.78 kB / 455.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005327/0.3373, allocations: 312.8 kB / 455.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3373, allocations: 7.984 kB / 455.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3374, allocations: 7.875 kB / 455.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3374, allocations: 0 / 455.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.3385, allocations: 0.8005 MB / 456.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3385, allocations: 0 / 456.7 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.3388, allocations: 55.95 kB / 456.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.3388, allocations: 11.88 kB / 456.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.3389, allocations: 8 kB / 456.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3389, allocations: 0 / 456.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3389, allocations: 4 kB / 456.8 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.3395, allocations: 0.5027 MB / 457.3 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3397, allocations: 128.7 kB / 457.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.3398, allocations: 8 kB / 457.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.3399, allocations: 19.92 kB / 457.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.34, allocations: 15.92 kB / 457.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.34, allocations: 15.98 kB / 457.5 MB, free: 8.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.3402, allocations: 223.1 kB / 457.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3402, allocations: 0 / 457.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004735/0.3407, allocations: 96 kB / 457.8 MB, free: 8.648 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001464/0.3409, allocations: 107.2 kB / 457.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008769/0.3418, allocations: 0.5802 MB / 458.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3418, allocations: 0 / 458.5 MB, free: 7.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.342, allocations: 127.7 kB / 458.6 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.3424, allocations: 72.3 kB / 458.6 MB, free: 7.738 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.344, allocations: 0.9959 MB / 459.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.3445, allocations: 0.8738 MB / 460.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.3448, allocations: 111.2 kB / 460.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.3449, allocations: 27.44 kB / 460.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3449, allocations: 0 / 460.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of Templates: time 0.008247/0.3531, allocations: 3.806 MB / 464.5 MB, free: 1.883 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)