Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009602/0.0009602, allocations: 170.9 kB / 16.07 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.4 MB / 222.2 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007579/0.0007579, allocations: 85 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1722/0.1722, allocations: 38.07 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003551, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2198, allocations: 56.33 MB / 479.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003082/0.2229, allocations: 3.208 MB / 482.8 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2246, allocations: 1.441 MB / 484.3 MB, free: 6.191 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.2248, allocations: 11.28 kB / 484.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.2249, allocations: 37.08 kB / 484.3 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006586/0.2256, allocations: 262.6 kB / 484.6 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.2259, allocations: 98.48 kB / 484.7 MB, free: 6 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.2264, allocations: 437.9 kB / 485.1 MB, free: 5.855 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005306/0.227, allocations: 320.2 kB / 485.4 MB, free: 5.645 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.2272, allocations: 123.8 kB / 485.5 MB, free: 5.594 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.2274, allocations: 149 kB / 485.7 MB, free: 5.539 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.2275, allocations: 8.625 kB / 485.7 MB, free: 5.539 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000572/0.2281, allocations: 362.2 kB / 486 MB, free: 5.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.2282, allocations: 85.52 kB / 486.1 MB, free: 5.395 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2283, allocations: 126.3 kB / 486.3 MB, free: 5.305 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.2287, allocations: 249.8 kB / 486.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2287, allocations: 0.5156 kB / 486.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2288, allocations: 1.844 kB / 486.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2288, allocations: 3.938 kB / 486.5 MB, free: 5.246 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005799/0.2293, allocations: 481.8 kB / 487 MB, free: 4.805 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.2294, allocations: 8.781 kB / 487 MB, free: 4.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008219/0.2302, allocations: 92.14 kB / 487.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.2305, allocations: 260.7 kB / 487.3 MB, free: 4.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2305, allocations: 20.66 kB / 487.3 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.2306, allocations: 19.31 kB / 487.4 MB, free: 4.527 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.231, allocations: 319 kB / 487.7 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.2311, allocations: 1.375 kB / 487.7 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.2311, allocations: 9.969 kB / 487.7 MB, free: 4.348 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.2311, allocations: 20.05 kB / 487.7 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.2315, allocations: 290.1 kB / 488 MB, free: 4.254 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.233, allocations: 1.298 MB / 489.3 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.2335, allocations: 207.2 kB / 489.5 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/0.2336, allocations: 60.69 kB / 489.6 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.2337, allocations: 3.5 kB / 489.6 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2337, allocations: 36.69 kB / 489.6 MB, free: 3.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.2337, allocations: 0 / 489.6 MB, free: 3.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008741/0.2346, allocations: 436.6 kB / 490 MB, free: 2.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.2346, allocations: 79.89 kB / 490.1 MB, free: 2.727 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.2348, allocations: 193 kB / 490.3 MB, free: 2.594 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.2348, allocations: 34.89 kB / 490.3 MB, free: 2.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.2349, allocations: 158.1 kB / 490.5 MB, free: 2.418 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.2349, allocations: 50.45 kB / 490.5 MB, free: 2.379 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/0.2349, allocations: 4 kB / 490.5 MB, free: 2.375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.099e-05/0.235, allocations: 332.3 kB / 490.9 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.076e-05/0.2351, allocations: 48.23 kB / 490.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.2352, allocations: 162.8 kB / 491.1 MB, free: 1.883 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.2355, allocations: 225.8 kB / 491.3 MB, free: 1.699 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2355, allocations: 1.891 kB / 491.3 MB, free: 1.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004078/0.2359, allocations: 264.1 kB / 491.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2359, allocations: 8 kB / 491.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2359, allocations: 2.812 kB / 491.5 MB, free: 1.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/0.2361, allocations: 37.59 kB / 491.6 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2363, allocations: 42.84 kB / 491.6 MB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000823/0.2371, allocations: 1.346 MB / 493 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.2373, allocations: 8.766 kB / 493 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.2373, allocations: 13.91 kB / 493 MB, free: 224 kB / 314.7 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 (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.2374, allocations: 156.7 kB / 493.1 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.2375, allocations: 16.38 kB / 493.2 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.2379, allocations: 190.5 kB / 493.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.2379, allocations: 2.562 kB / 493.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2379, allocations: 1.438 kB / 493.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2379, allocations: 0.8906 kB / 493.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008204/0.2387, allocations: 0.5597 MB / 493.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2387, allocations: 1.062 kB / 493.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.2388, allocations: 31.52 kB / 493.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/0.239, allocations: 39.03 kB / 494 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.239, allocations: 3.609 kB / 494 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000985/0.24, allocations: 1.321 MB / 495.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.24, allocations: 1.797 kB / 495.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.2404, allocations: 302 kB / 495.6 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.2405, allocations: 93.19 kB / 495.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.2405, allocations: 3.984 kB / 495.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2406, allocations: 6.031 kB / 495.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.2406, allocations: 9.766 kB / 495.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.2407, allocations: 10.14 kB / 495.7 MB, free: 13.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.2408, allocations: 143.9 kB / 495.9 MB, free: 13.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2408, allocations: 9.5 kB / 495.9 MB, free: 13.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003514/0.2412, allocations: 47.59 kB / 495.9 MB, free: 13.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.593e-05/0.2413, allocations: 103.2 kB / 496 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004863/0.2418, allocations: 271.1 kB / 496.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2418, allocations: 1.094 kB / 496.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.242, allocations: 178.1 kB / 496.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.2424, allocations: 32.39 kB / 496.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/0.2432, allocations: 0.5676 MB / 497.1 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.2436, allocations: 0.7632 MB / 497.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.2436, allocations: 20.08 kB / 497.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2436, allocations: 0 / 497.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of Templates: time 0.005889/0.2495, allocations: 3.127 MB / 0.4892 GB, free: 11.52 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)