Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 104.5 kB / 16.98 MB, free: 6.137 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.001199/0.001199, allocations: 191.4 kB / 17.91 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241.6 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04718/0.04718, allocations: 8.107 MB / 299.9 MB, free: 6.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 362.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2217, allocations: 51.51 MB / 413.9 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002049/0.2238, allocations: 1.156 MB / 415.1 MB, free: 24.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2251, allocations: 1.438 MB / 416.5 MB, free: 22.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.2252, allocations: 4 kB / 416.5 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.2255, allocations: 107.5 kB / 416.6 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.2257, allocations: 67.53 kB / 416.7 MB, free: 22.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.2267, allocations: 0.7535 MB / 417.4 MB, free: 22.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.2269, allocations: 131.4 kB / 417.6 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.227, allocations: 57.08 kB / 417.6 MB, free: 21.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.2271, allocations: 55.73 kB / 417.7 MB, free: 21.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.629e-05/0.2272, allocations: 63.75 kB / 417.7 MB, free: 21.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.2272, allocations: 12 kB / 417.7 MB, free: 21.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.2274, allocations: 167.8 kB / 417.9 MB, free: 21.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.2275, allocations: 27.86 kB / 417.9 MB, free: 21.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.2275, allocations: 59.72 kB / 418 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.2278, allocations: 269.2 kB / 418.3 MB, free: 21.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2278, allocations: 0 / 418.3 MB, free: 21.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2278, allocations: 0 / 418.3 MB, free: 21.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2279, allocations: 0 / 418.3 MB, free: 21.21 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001356/0.2292, allocations: 0.5928 MB / 418.9 MB, free: 20.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.2293, allocations: 11.89 kB / 418.9 MB, free: 20.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.2293, allocations: 16.75 kB / 418.9 MB, free: 20.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.2295, allocations: 212.1 kB / 419.1 MB, free: 20.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2295, allocations: 8.609 kB / 419.1 MB, free: 20.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.2295, allocations: 12.38 kB / 419.1 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.2298, allocations: 173.7 kB / 419.3 MB, free: 20.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2298, allocations: 4.188 kB / 419.3 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.2298, allocations: 3.938 kB / 419.3 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.2298, allocations: 4 kB / 419.3 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.23, allocations: 152.6 kB / 419.4 MB, free: 19.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007311/0.2308, allocations: 0.5636 MB / 420 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.231, allocations: 158.5 kB / 420.2 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.362e-05/0.2311, allocations: 64.84 kB / 420.2 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.2311, allocations: 8 kB / 420.2 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2312, allocations: 34.5 kB / 420.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.2312, allocations: 0 / 420.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009009/0.2321, allocations: 391.3 kB / 420.6 MB, free: 18.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.2321, allocations: 51.41 kB / 420.7 MB, free: 18.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2322, allocations: 164 kB / 420.9 MB, free: 18.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.2323, allocations: 29.7 kB / 420.9 MB, free: 18.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.2323, allocations: 120.1 kB / 421 MB, free: 18.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.2323, allocations: 51.28 kB / 421 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.2324, allocations: 49.69 kB / 421.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.2325, allocations: 326.8 kB / 421.4 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.2326, allocations: 91.91 kB / 421.5 MB, free: 17.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.2327, allocations: 93.59 kB / 421.6 MB, free: 17.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.2329, allocations: 204.3 kB / 421.8 MB, free: 17.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2329, allocations: 0 / 421.8 MB, free: 17.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004569/0.2334, allocations: 306.1 kB / 422.1 MB, free: 17.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2334, allocations: 4 kB / 422.1 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2334, allocations: 0 / 422.1 MB, free: 17.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.2337, allocations: 52.81 kB / 422.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.2339, allocations: 31.98 kB / 422.2 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.235, allocations: 1.539 MB / 423.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.2351, allocations: 19.78 kB / 423.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.2351, allocations: 11.98 kB / 423.8 MB, free: 15.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 8.412e-05/0.2352, allocations: 125.8 kB / 423.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.2353, allocations: 15.89 kB / 423.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.2357, allocations: 235.5 kB / 424.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2357, allocations: 0 / 424.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.2357, allocations: 0 / 424.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2357, allocations: 4 kB / 424.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.2359, allocations: 269.3 kB / 424.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2359, allocations: 0 / 424.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.236, allocations: 23.94 kB / 424.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.2362, allocations: 52.81 kB / 424.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2362, allocations: 4 kB / 424.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009147/0.2372, allocations: 1.523 MB / 426 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2372, allocations: 0 / 426 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.2375, allocations: 323.4 kB / 426.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.2376, allocations: 85.02 kB / 426.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.2376, allocations: 7.984 kB / 426.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.2378, allocations: 3.938 kB / 426.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.2378, allocations: 7.984 kB / 426.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2378, allocations: 11.98 kB / 426.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.626e-05/0.2379, allocations: 134.1 kB / 426.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2379, allocations: 0 / 426.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003207/0.2382, allocations: 59.84 kB / 426.6 MB, free: 12.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0001615/0.2384, allocations: 111.2 kB / 426.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000595/0.239, allocations: 330.6 kB / 427 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.239, allocations: 7.938 kB / 427 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.2393, allocations: 194.6 kB / 427.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.2396, allocations: 16 kB / 427.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.2402, allocations: 331.9 kB / 427.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.2403, allocations: 0.7122 MB / 428.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.2404, allocations: 15.44 kB / 428.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2404, allocations: 0 / 428.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Templates: time 0.003798/0.2442, allocations: 2.767 MB / 431.1 MB, free: 7.664 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)