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.001064/0.001064, allocations: 95.95 kB / 16.3 MB, free: 6.465 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.000924/0.000924, allocations: 184.3 kB / 17.2 MB, free: 6.34 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.607/1.607, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1651/0.1651, allocations: 38.03 MB / 309.7 MB, free: 6.145 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.0005625/0.0005625, allocations: 27.98 kB / 376.5 MB, free: 3.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3044, allocations: 56.33 MB / 432.8 MB, free: 18.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.004149/0.3086, allocations: 4.419 MB / 437.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.3109, allocations: 1.689 MB / 438.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.3111, allocations: 23.81 kB / 438.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.3113, allocations: 75.52 kB / 439 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006241/0.312, allocations: 247.2 kB / 439.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.3126, allocations: 231.5 kB / 439.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.3129, allocations: 323.7 kB / 439.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005791/0.3135, allocations: 449.4 kB / 440.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.3137, allocations: 191.3 kB / 440.4 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.3141, allocations: 223.3 kB / 440.6 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.3141, allocations: 16 kB / 440.7 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.3143, allocations: 91.8 kB / 440.7 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.3145, allocations: 183.6 kB / 440.9 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.3145, allocations: 113.4 kB / 441 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.3149, allocations: 442.9 kB / 441.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3149, allocations: 0 / 441.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3149, allocations: 0 / 441.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3149, allocations: 0 / 441.5 MB, free: 10.14 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.001207/0.3161, allocations: 0.6879 MB / 442.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3162, allocations: 8.031 kB / 442.2 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006372/0.3168, allocations: 107.2 kB / 442.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/0.3174, allocations: 387 kB / 442.6 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.3174, allocations: 29 kB / 442.7 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.3176, allocations: 51.97 kB / 442.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007673/0.3183, allocations: 0.656 MB / 443.4 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.3184, allocations: 11.88 kB / 443.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.3184, allocations: 16 kB / 443.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.3186, allocations: 48.97 kB / 443.5 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006037/0.3192, allocations: 483.5 kB / 443.9 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/0.3218, allocations: 3.156 MB / 447.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.3222, allocations: 253.8 kB / 447.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.3222, allocations: 8.234 kB / 447.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3223, allocations: 38.69 kB / 447.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.3223, allocations: 4 kB / 447.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.00125/0.3235, allocations: 0.8955 MB / 448.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3236, allocations: 77.11 kB / 448.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.3239, allocations: 332.4 kB / 448.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3239, allocations: 29.7 kB / 448.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.324, allocations: 295.1 kB / 449 MB, free: 2.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.3241, allocations: 90.88 kB / 449.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/0.3241, allocations: 4 kB / 449.1 MB, free: 2.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.3242, allocations: 354.7 kB / 449.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3244, allocations: 136.8 kB / 449.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.3246, allocations: 309.2 kB / 449.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.3248, allocations: 191.8 kB / 450.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3248, allocations: 4 kB / 450.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008412/0.3257, allocations: 0.5918 MB / 450.7 MB, free: 396 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3257, allocations: 8 kB / 450.7 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004996/0.3262, allocations: 322 kB / 451 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/0.3267, allocations: 121.7 kB / 451.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.327, allocations: 87.83 kB / 451.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.3298, allocations: 3.069 MB / 454.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.3301, allocations: 16 kB / 454.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.3301, allocations: 27.98 kB / 454.3 MB, free: 12.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002918/0.3304, allocations: 213.6 kB / 454.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.3305, allocations: 31.62 kB / 454.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.331, allocations: 320.9 kB / 454.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.331, allocations: 4 kB / 454.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.331, allocations: 0 / 454.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.331, allocations: 0 / 454.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.3321, allocations: 0.8082 MB / 455.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3322, allocations: 0 / 455.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.3325, allocations: 67.97 kB / 455.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3325, allocations: 0 / 455.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.3325, allocations: 8 kB / 455.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3325, allocations: 4 kB / 455.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3325, allocations: 3.938 kB / 455.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006534/0.3332, allocations: 0.5493 MB / 456.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.3333, allocations: 120.7 kB / 456.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.3334, allocations: 11.98 kB / 456.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3335, allocations: 8 kB / 456.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.3336, allocations: 19.97 kB / 456.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.3336, allocations: 8 kB / 456.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.3339, allocations: 223 kB / 456.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3339, allocations: 0 / 456.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005285/0.3345, allocations: 100 kB / 456.8 MB, free: 9.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002008/0.3347, allocations: 99.19 kB / 456.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3358, allocations: 0.5761 MB / 457.4 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3358, allocations: 0 / 457.4 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.336, allocations: 127.8 kB / 457.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.3365, allocations: 66.28 kB / 457.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.3387, allocations: 1.238 MB / 458.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006726/0.3394, allocations: 0.8779 MB / 459.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003399/0.3397, allocations: 111.2 kB / 459.9 MB, free: 6.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.3398, allocations: 35.44 kB / 459.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3398, allocations: 0 / 459.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of Templates: time 0.007663/0.3475, allocations: 3.524 MB / 463.4 MB, free: 3.113 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) Environment - environmentSimulation: