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.0008141/0.0008143, allocations: 91.97 kB / 16.71 MB, free: 6.145 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.000896/0.000896, allocations: 174.2 kB / 17.62 MB, free: 5.855 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.309/1.309, allocations: 223.3 MB / 241.7 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04041/0.04041, allocations: 8.101 MB / 300.9 MB, free: 6.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003151, allocations: 8 kB / 364.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2144, allocations: 52.51 MB / 416.7 MB, free: 24.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001037/0.2155, allocations: 0.8637 MB / 417.5 MB, free: 24.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2168, allocations: 1.423 MB / 418.9 MB, free: 22.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.2169, allocations: 0 / 418.9 MB, free: 22.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.2172, allocations: 99.66 kB / 419 MB, free: 22.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.2173, allocations: 55.67 kB / 419.1 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009641/0.2183, allocations: 0.7161 MB / 419.8 MB, free: 21.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.2185, allocations: 123.4 kB / 419.9 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2186, allocations: 45.09 kB / 420 MB, free: 21.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.416e-05/0.2187, allocations: 51.72 kB / 420 MB, free: 21.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.136e-05/0.2187, allocations: 63.75 kB / 420.1 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.2188, allocations: 8 kB / 420.1 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.219, allocations: 151.8 kB / 420.2 MB, free: 21.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.219, allocations: 27.84 kB / 420.3 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.2191, allocations: 77.44 kB / 420.4 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.2193, allocations: 189.5 kB / 420.5 MB, free: 20.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2193, allocations: 0 / 420.5 MB, free: 20.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2193, allocations: 4 kB / 420.5 MB, free: 20.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.2193, allocations: 4 kB / 420.5 MB, free: 20.97 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.001261/0.2206, allocations: 0.5616 MB / 421.1 MB, free: 20.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.2206, allocations: 11.97 kB / 421.1 MB, free: 20.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.2207, allocations: 16.75 kB / 421.1 MB, free: 20.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.2208, allocations: 208.2 kB / 421.3 MB, free: 20.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2209, allocations: 8.609 kB / 421.3 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.2209, allocations: 12.38 kB / 421.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.2211, allocations: 172 kB / 421.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2212, allocations: 192 / 421.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.2212, allocations: 15.81 kB / 421.5 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2212, allocations: 4 kB / 421.5 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.2214, allocations: 152.6 kB / 421.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/0.2222, allocations: 0.5675 MB / 422.3 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.2224, allocations: 158.5 kB / 422.4 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.046e-05/0.2225, allocations: 76.84 kB / 422.5 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.2225, allocations: 0 / 422.5 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.2226, allocations: 42.55 kB / 422.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2226, allocations: 0 / 422.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009249/0.2235, allocations: 383.3 kB / 422.9 MB, free: 18.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.2236, allocations: 55.41 kB / 423 MB, free: 18.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2237, allocations: 167.4 kB / 423.1 MB, free: 18.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2237, allocations: 29.7 kB / 423.2 MB, free: 18.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.2238, allocations: 112.2 kB / 423.3 MB, free: 18.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.2238, allocations: 55.28 kB / 423.3 MB, free: 17.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.2238, allocations: 21.7 kB / 423.3 MB, free: 17.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.078e-05/0.2239, allocations: 330.8 kB / 423.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.224, allocations: 83.97 kB / 423.7 MB, free: 17.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.2241, allocations: 94.2 kB / 423.8 MB, free: 17.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.2244, allocations: 192.7 kB / 424 MB, free: 17.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2244, allocations: 0 / 424 MB, free: 17.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004628/0.2248, allocations: 309.7 kB / 424.3 MB, free: 16.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2249, allocations: 4 kB / 424.3 MB, free: 16.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2249, allocations: 3.984 kB / 424.3 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/0.2251, allocations: 56.81 kB / 424.4 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.2253, allocations: 35.92 kB / 424.4 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009951/0.2263, allocations: 1.432 MB / 425.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.2265, allocations: 23.72 kB / 425.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2265, allocations: 8 kB / 425.9 MB, free: 15.24 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 9.078e-05/0.2266, allocations: 121.9 kB / 426 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.2266, allocations: 15.89 kB / 426 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.2271, allocations: 231.4 kB / 426.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2271, allocations: 11.92 kB / 426.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.2271, allocations: 0 / 426.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2271, allocations: 3.938 kB / 426.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.2273, allocations: 261.5 kB / 426.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2273, allocations: 0 / 426.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.758e-05/0.2274, allocations: 23.98 kB / 426.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001933/0.2276, allocations: 52.81 kB / 426.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.2276, allocations: 8 kB / 426.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008945/0.2285, allocations: 1.436 MB / 428 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2285, allocations: 3.938 kB / 428 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.2289, allocations: 311.8 kB / 428.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.229, allocations: 96.91 kB / 428.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.229, allocations: 0 / 428.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.2291, allocations: 0 / 428.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.2292, allocations: 19.98 kB / 428.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.2292, allocations: 0 / 428.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.33e-05/0.2293, allocations: 127.2 kB / 428.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2293, allocations: 0 / 428.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.2296, allocations: 59.94 kB / 428.6 MB, free: 12.24 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.0001441/0.2297, allocations: 115.2 kB / 428.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005319/0.2303, allocations: 314.6 kB / 429.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2303, allocations: 0 / 429.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.2306, allocations: 198.6 kB / 429.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.2309, allocations: 15.94 kB / 429.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.2314, allocations: 396.6 kB / 429.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.2315, allocations: 0.7163 MB / 430.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.2316, allocations: 19.44 kB / 430.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2316, allocations: 0 / 430.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of Templates: time 0.003849/0.2355, allocations: 2.755 MB / 433.1 MB, free: 7.645 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)