Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 111.2 kB / 16.57 MB, free: 6.258 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: 194.7 kB / 17.49 MB, free: 5.875 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.329/1.329, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04413/0.04413, allocations: 8.09 MB / 299.4 MB, free: 6.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.91 kB / 361.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.224, allocations: 51.51 MB / 413.2 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002267/0.2263, allocations: 0.9194 MB / 414.1 MB, free: 24.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2278, allocations: 1.291 MB / 415.4 MB, free: 23.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/0.2279, allocations: 7.938 kB / 415.4 MB, free: 23.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.2282, allocations: 51.83 kB / 415.5 MB, free: 23.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.2284, allocations: 43.75 kB / 415.5 MB, free: 23.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006798/0.2291, allocations: 334.8 kB / 415.8 MB, free: 23.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2292, allocations: 79.58 kB / 415.9 MB, free: 23.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2293, allocations: 12 kB / 415.9 MB, free: 23.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.2294, allocations: 31.86 kB / 416 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.2295, allocations: 39.84 kB / 416 MB, free: 22.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.2295, allocations: 4 kB / 416 MB, free: 22.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.2298, allocations: 99.88 kB / 416.1 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.2298, allocations: 11.98 kB / 416.1 MB, free: 22.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.2298, allocations: 43.73 kB / 416.2 MB, free: 22.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.23, allocations: 105.8 kB / 416.3 MB, free: 22.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2301, allocations: 0 / 416.3 MB, free: 22.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2301, allocations: 0 / 416.3 MB, free: 22.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2301, allocations: 0 / 416.3 MB, free: 22.73 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008509/0.2309, allocations: 441.9 kB / 416.7 MB, free: 22.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.231, allocations: 15.97 kB / 416.7 MB, free: 22.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.231, allocations: 12.84 kB / 416.7 MB, free: 22.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.2312, allocations: 184.2 kB / 416.9 MB, free: 22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2312, allocations: 4.375 kB / 416.9 MB, free: 22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.2312, allocations: 4.375 kB / 416.9 MB, free: 21.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.2314, allocations: 94.22 kB / 417 MB, free: 21.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2314, allocations: 192 / 417 MB, free: 21.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.2314, allocations: 11.94 kB / 417 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2315, allocations: 3.984 kB / 417 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.2316, allocations: 71.91 kB / 417.1 MB, free: 21.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.2321, allocations: 388.6 kB / 417.5 MB, free: 21.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.2324, allocations: 110.5 kB / 417.6 MB, free: 21.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.2325, allocations: 36.84 kB / 417.6 MB, free: 21.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.2325, allocations: 0 / 417.6 MB, free: 21.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.2326, allocations: 34.56 kB / 417.6 MB, free: 21.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.2326, allocations: 0 / 417.6 MB, free: 21.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005478/0.2331, allocations: 239.5 kB / 417.9 MB, free: 20.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.2332, allocations: 55.34 kB / 417.9 MB, free: 20.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2333, allocations: 140.6 kB / 418.1 MB, free: 20.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2333, allocations: 25.7 kB / 418.1 MB, free: 20.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.2333, allocations: 107.9 kB / 418.2 MB, free: 20.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.2334, allocations: 27.64 kB / 418.2 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.2334, allocations: 25.7 kB / 418.2 MB, free: 20.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.2335, allocations: 314.8 kB / 418.6 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.814e-05/0.2335, allocations: 31.98 kB / 418.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.2336, allocations: 31.98 kB / 418.6 MB, free: 20.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.306e-05/0.2337, allocations: 72.84 kB / 418.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2337, allocations: 0 / 418.7 MB, free: 20.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002429/0.2339, allocations: 146.4 kB / 418.8 MB, free: 19.9 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2339, allocations: 11.88 kB / 418.8 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.234, allocations: 3.938 kB / 418.8 MB, free: 19.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002321/0.2342, allocations: 36.83 kB / 418.9 MB, free: 19.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.2343, allocations: 16.27 kB / 418.9 MB, free: 19.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008129/0.2351, allocations: 1.339 MB / 420.2 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.2352, allocations: 4.031 kB / 420.2 MB, free: 18.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2352, allocations: 11.92 kB / 420.3 MB, free: 18.34 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 (9): * Single equations (assignments): 8 * 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 7.101e-05/0.2353, allocations: 121.9 kB / 420.4 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.2353, allocations: 7.906 kB / 420.4 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.2356, allocations: 130.8 kB / 420.5 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2356, allocations: 0 / 420.5 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2356, allocations: 4 kB / 420.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2356, allocations: 3.984 kB / 420.5 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.2358, allocations: 209.5 kB / 420.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2358, allocations: 4 kB / 420.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.2358, allocations: 4 kB / 420.7 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001624/0.236, allocations: 32.83 kB / 420.8 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.236, allocations: 4 kB / 420.8 MB, free: 17.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000715/0.2367, allocations: 1.323 MB / 422.1 MB, free: 16.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.2367, allocations: 11.97 kB / 422.1 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.237, allocations: 216.4 kB / 422.3 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.237, allocations: 85.02 kB / 422.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.237, allocations: 7.938 kB / 422.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2372, allocations: 7.984 kB / 422.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.2372, allocations: 4 kB / 422.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2372, allocations: 0 / 422.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.898e-05/0.2373, allocations: 115.2 kB / 422.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2373, allocations: 0 / 422.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.2376, allocations: 24 kB / 422.5 MB, free: 15.79 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 (6): * Single equations (assignments): 5 * 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.000128/0.2377, allocations: 107.2 kB / 422.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.238, allocations: 194.6 kB / 422.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2381, allocations: 4 kB / 422.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.2382, allocations: 154.6 kB / 423 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.2386, allocations: 18.61 kB / 423 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.239, allocations: 270 kB / 423.3 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.2391, allocations: 0.6925 MB / 424 MB, free: 14.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.2391, allocations: 15.44 kB / 424 MB, free: 14.26 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2391, allocations: 0 / 424 MB, free: 14.26 MB / 302.1 MB Notification: Performance of Templates: time 0.003335/0.2425, allocations: 1.818 MB / 425.8 MB, free: 12.45 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)