Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.002165/0.002166, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.621/1.621, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1811/0.1811, allocations: 38.05 MB / 310.1 MB, free: 5.895 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.0005254/0.0005256, allocations: 16 kB / 377.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3033, allocations: 56.33 MB / 433.5 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004143/0.3075, allocations: 4.605 MB / 438.1 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3089, allocations: 1.146 MB / 439.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.3091, allocations: 27.81 kB / 439.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.3093, allocations: 39.69 kB / 439.3 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.3098, allocations: 227.1 kB / 439.5 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.31, allocations: 95.83 kB / 439.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005359/0.3105, allocations: 0.7987 MB / 440.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.3107, allocations: 122.9 kB / 440.5 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.311, allocations: 183 kB / 440.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.3113, allocations: 271.1 kB / 441 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.3114, allocations: 12 kB / 441 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.303e-05/0.3114, allocations: 12 kB / 441 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.3116, allocations: 139.6 kB / 441.1 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.3117, allocations: 184.8 kB / 441.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.3119, allocations: 342.7 kB / 441.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3119, allocations: 0 / 441.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.312, allocations: 0 / 441.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.312, allocations: 0 / 441.7 MB, free: 10.46 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001008/0.313, allocations: 0.605 MB / 442.3 MB, free: 9.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.313, allocations: 8.031 kB / 442.3 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.3131, allocations: 40.47 kB / 442.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.3136, allocations: 355.8 kB / 442.7 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.3137, allocations: 24.67 kB / 442.7 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.3137, allocations: 31.94 kB / 442.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.3142, allocations: 352.8 kB / 443.1 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3142, allocations: 3.938 kB / 443.1 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.3142, allocations: 12 kB / 443.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.3143, allocations: 24.53 kB / 443.1 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.3147, allocations: 238 kB / 443.3 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.316, allocations: 1.39 MB / 444.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.3163, allocations: 169.1 kB / 444.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.3165, allocations: 101.7 kB / 445 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3166, allocations: 7.938 kB / 445 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.3166, allocations: 34.56 kB / 445 MB, free: 6.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.3166, allocations: 0 / 445 MB, free: 6.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001081/0.3177, allocations: 0.7629 MB / 445.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3177, allocations: 85.11 kB / 445.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.318, allocations: 296.6 kB / 446.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.318, allocations: 25.7 kB / 446.2 MB, free: 5.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.3181, allocations: 215.5 kB / 446.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.3181, allocations: 55.2 kB / 446.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.3182, allocations: 29.7 kB / 446.5 MB, free: 5.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.3182, allocations: 334.8 kB / 446.8 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.166e-05/0.3183, allocations: 67.95 kB / 446.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3185, allocations: 164.8 kB / 447 MB, free: 4.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.3187, allocations: 256.6 kB / 447.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3187, allocations: 0 / 447.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000406/0.3191, allocations: 329.6 kB / 447.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.3192, allocations: 8 kB / 447.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3192, allocations: 4 kB / 447.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.3194, allocations: 44.83 kB / 447.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.3196, allocations: 52.34 kB / 447.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.3207, allocations: 1.499 MB / 449.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.3208, allocations: 12.16 kB / 449.2 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.3208, allocations: 19.94 kB / 449.2 MB, free: 2.273 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.321, allocations: 169.7 kB / 449.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.321, allocations: 27.62 kB / 449.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.3214, allocations: 240.3 kB / 449.7 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3214, allocations: 0 / 449.7 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3214, allocations: 3.938 kB / 449.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3214, allocations: 8 kB / 449.7 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006421/0.3221, allocations: 0.6404 MB / 450.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3221, allocations: 0 / 450.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.965e-05/0.3222, allocations: 27.86 kB / 450.4 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000151/0.3224, allocations: 60.78 kB / 450.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3224, allocations: 4 kB / 450.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.3234, allocations: 1.491 MB / 451.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3234, allocations: 4.156 kB / 451.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.3239, allocations: 405.5 kB / 452.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.324, allocations: 104.7 kB / 452.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.324, allocations: 4 kB / 452.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3241, allocations: 7.984 kB / 452.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.3242, allocations: 19.98 kB / 452.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.3242, allocations: 4 kB / 452.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.3244, allocations: 211.1 kB / 452.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3244, allocations: 0 / 452.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003469/0.3248, allocations: 68 kB / 452.7 MB, free: 14.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.3249, allocations: 107.2 kB / 452.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005303/0.3254, allocations: 313.5 kB / 453.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3254, allocations: 0 / 453.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.3258, allocations: 203.5 kB / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.3263, allocations: 69.08 kB / 453.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.3276, allocations: 0.9081 MB / 454.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.3281, allocations: 0.8028 MB / 455.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.3282, allocations: 50.95 kB / 455.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.3283, allocations: 27.42 kB / 455.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3283, allocations: 0 / 455.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Templates: time 0.006108/0.3344, allocations: 2.781 MB / 458 MB, free: 9.215 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) Environment - environmentSimulation: