Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009727/0.0009727, allocations: 174.1 kB / 16.07 MB, free: 5.723 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.2/1.2, 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.0007124/0.0007125, allocations: 84.73 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1649/0.1649, allocations: 38.09 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2143, allocations: 56.32 MB / 479.6 MB, free: 9.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.003913/0.2182, allocations: 4.411 MB / 484 MB, free: 6.383 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.2197, allocations: 1.12 MB / 485.2 MB, free: 5.582 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.2199, allocations: 25.22 kB / 485.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.2201, allocations: 59.97 kB / 485.2 MB, free: 5.543 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005498/0.2206, allocations: 276.2 kB / 485.5 MB, free: 5.395 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.2209, allocations: 118.6 kB / 485.6 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005994/0.2215, allocations: 0.6175 MB / 486.2 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.2217, allocations: 124.8 kB / 486.4 MB, free: 5.082 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.222, allocations: 186.9 kB / 486.6 MB, free: 5.008 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003826/0.2224, allocations: 256 kB / 486.8 MB, free: 4.934 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.2224, allocations: 15.97 kB / 486.8 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.2225, allocations: 12.72 kB / 486.8 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.2227, allocations: 137.1 kB / 487 MB, free: 4.898 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.2228, allocations: 183.1 kB / 487.1 MB, free: 4.781 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.2231, allocations: 263.2 kB / 487.4 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2231, allocations: 1.188 kB / 487.4 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2231, allocations: 0 / 487.4 MB, free: 4.723 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2232, allocations: 0 / 487.4 MB, free: 4.723 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008476/0.224, allocations: 0.6034 MB / 488 MB, free: 4.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.224, allocations: 10.27 kB / 488 MB, free: 4.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.696e-05/0.2241, allocations: 38.97 kB / 488.1 MB, free: 4.211 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.2245, allocations: 360.9 kB / 488.4 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.2246, allocations: 23.56 kB / 488.4 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.2246, allocations: 25.02 kB / 488.5 MB, free: 3.906 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.2251, allocations: 351.2 kB / 488.8 MB, free: 3.715 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2251, allocations: 5.781 kB / 488.8 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.2252, allocations: 10.64 kB / 488.8 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.684e-05/0.2253, allocations: 26.03 kB / 488.8 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.2256, allocations: 240.1 kB / 489.1 MB, free: 3.625 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.227, allocations: 1.377 MB / 490.4 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.2273, allocations: 171.1 kB / 490.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.2275, allocations: 107.8 kB / 490.7 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.2275, allocations: 1.859 kB / 490.7 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.2275, allocations: 33.72 kB / 490.8 MB, free: 2.402 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.2275, allocations: 0 / 490.8 MB, free: 2.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.001136/0.2287, allocations: 0.7656 MB / 491.5 MB, free: 1.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.2287, allocations: 79.52 kB / 491.6 MB, free: 1.746 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.229, allocations: 293.8 kB / 491.9 MB, free: 1.586 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.229, allocations: 27.42 kB / 491.9 MB, free: 1.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.2291, allocations: 219.8 kB / 492.1 MB, free: 1.371 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.2292, allocations: 55.47 kB / 492.2 MB, free: 1.328 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.2292, allocations: 5.062 kB / 492.2 MB, free: 1.324 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.2292, allocations: 343.4 kB / 492.5 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.2294, allocations: 67.39 kB / 492.6 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.2295, allocations: 156.8 kB / 492.7 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.2297, allocations: 256.5 kB / 493 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2298, allocations: 4.938 kB / 493 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004413/0.2302, allocations: 317.2 kB / 493.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2302, allocations: 10.06 kB / 493.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2302, allocations: 2.969 kB / 493.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.2304, allocations: 56.3 kB / 493.4 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.2306, allocations: 50.48 kB / 493.4 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.2317, allocations: 1.488 MB / 494.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.2319, allocations: 9.719 kB / 494.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.2319, allocations: 18.88 kB / 494.9 MB, free: 15.1 MB / 330.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 (28): * Single equations (assignments): 27 * 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.0001839/0.2321, allocations: 174 kB / 495.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.2322, allocations: 28.52 kB / 495.1 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.2326, allocations: 237.2 kB / 495.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2326, allocations: 6.562 kB / 495.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2326, allocations: 7.938 kB / 495.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2326, allocations: 1.984 kB / 495.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008713/0.2335, allocations: 0.6419 MB / 496 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2335, allocations: 0 / 496 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.2336, allocations: 26.31 kB / 496.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001854/0.2338, allocations: 59.52 kB / 496.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.2338, allocations: 11.39 kB / 496.1 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.235, allocations: 1.485 MB / 497.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.235, allocations: 1.578 kB / 497.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.2355, allocations: 404.6 kB / 498 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.2356, allocations: 108.5 kB / 498.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.2357, allocations: 2.953 kB / 498.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.2358, allocations: 12.47 kB / 498.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.2358, allocations: 15.08 kB / 498.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.2359, allocations: 3.969 kB / 498.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.2361, allocations: 211.2 kB / 498.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2361, allocations: 0 / 498.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.2364, allocations: 66.28 kB / 498.4 MB, free: 12.5 MB / 330.7 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 (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 0.0001112/0.2366, allocations: 107.9 kB / 498.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.237, allocations: 290.3 kB / 498.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.237, allocations: 0 / 498.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.2374, allocations: 204 kB / 499 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.2379, allocations: 66.95 kB / 499.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.2392, allocations: 0.9331 MB / 500 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.2396, allocations: 0.8068 MB / 0.4891 GB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.617e-05/0.2396, allocations: 27.36 kB / 0.4891 GB, free: 10.77 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2397, allocations: 0 / 0.4891 GB, free: 10.77 MB / 330.7 MB Notification: Performance of Templates: time 0.00739/0.247, allocations: 4.815 MB / 0.4938 GB, free: 8.75 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)