Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 105.4 kB / 16.57 MB, free: 6.719 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.001126/0.001126, allocations: 191.7 kB / 17.49 MB, free: 6.004 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.35/1.35, allocations: 222.9 MB / 241.2 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04583/0.04583, allocations: 8.09 MB / 299.4 MB, free: 6.973 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.09 kB / 361.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.208, allocations: 51.51 MB / 413.2 MB, free: 26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002185/0.2102, allocations: 1.604 MB / 414.8 MB, free: 24.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2116, allocations: 1.54 MB / 416.3 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.2117, allocations: 4 kB / 416.3 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.212, allocations: 103.6 kB / 416.4 MB, free: 22.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.2122, allocations: 103.4 kB / 416.5 MB, free: 22.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.2134, allocations: 0.8949 MB / 417.4 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.2137, allocations: 222.9 kB / 417.7 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.2138, allocations: 73.05 kB / 417.7 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.2139, allocations: 83.66 kB / 417.8 MB, free: 21.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.214, allocations: 123.5 kB / 417.9 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.2141, allocations: 16 kB / 417.9 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.2144, allocations: 199.8 kB / 418.1 MB, free: 21.03 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.487e-05/0.2144, allocations: 47.77 kB / 418.2 MB, free: 20.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.097e-05/0.2145, allocations: 103.5 kB / 418.3 MB, free: 20.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.2148, allocations: 277.5 kB / 418.6 MB, free: 20.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2148, allocations: 0 / 418.6 MB, free: 20.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2148, allocations: 7.984 kB / 418.6 MB, free: 20.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2148, allocations: 0 / 418.6 MB, free: 20.61 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002155/0.217, allocations: 0.811 MB / 419.4 MB, free: 19.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.217, allocations: 11.97 kB / 419.4 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.2171, allocations: 32.66 kB / 419.4 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.2173, allocations: 256.4 kB / 419.7 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.2173, allocations: 8.703 kB / 419.7 MB, free: 19.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.2174, allocations: 24.38 kB / 419.7 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.2178, allocations: 260 kB / 420 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2178, allocations: 192 / 420 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.2178, allocations: 7.938 kB / 420 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.2178, allocations: 4 kB / 420 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.2182, allocations: 243.9 kB / 420.2 MB, free: 18.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.2193, allocations: 1.125 MB / 421.3 MB, free: 17.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.22, allocations: 310.5 kB / 421.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.2202, allocations: 160.8 kB / 421.8 MB, free: 17.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/0.2202, allocations: 7.984 kB / 421.8 MB, free: 17.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.2203, allocations: 42.56 kB / 421.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.222e-06/0.2203, allocations: 0 / 421.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.002891/0.2232, allocations: 0.9651 MB / 422.8 MB, free: 16.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.2232, allocations: 55.34 kB / 422.9 MB, free: 16.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.2234, allocations: 202.2 kB / 423.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.2234, allocations: 33.7 kB / 423.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.2235, allocations: 128.4 kB / 423.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.2235, allocations: 86.73 kB / 423.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.2236, allocations: 65.59 kB / 423.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.2237, allocations: 326.8 kB / 423.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.2239, allocations: 159.9 kB / 423.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.2241, allocations: 157.1 kB / 424 MB, free: 14.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.2245, allocations: 354.3 kB / 424.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2245, allocations: 0 / 424.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001378/0.2259, allocations: 0.6382 MB / 425 MB, free: 13.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2259, allocations: 8 kB / 425 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.226, allocations: 0 / 425 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.2273, allocations: 320.5 kB / 425.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.2275, allocations: 51.91 kB / 425.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/0.2309, allocations: 2.545 MB / 427.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.2311, allocations: 19.84 kB / 427.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.2311, allocations: 19.98 kB / 427.9 MB, free: 10.78 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 (27): * Single equations (assignments): 26 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.2313, allocations: 145.7 kB / 428.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.2313, allocations: 19.72 kB / 428.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.2327, allocations: 0.6208 MB / 428.7 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2328, allocations: 4 kB / 428.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2328, allocations: 0 / 428.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2328, allocations: 0 / 428.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.2331, allocations: 393 kB / 429.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2331, allocations: 0 / 429.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-05/0.2332, allocations: 31.98 kB / 429.1 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.2345, allocations: 308.5 kB / 429.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.2345, allocations: 15.98 kB / 429.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002863/0.2374, allocations: 2.504 MB / 432 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2374, allocations: 7.938 kB / 432 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.2387, allocations: 0.6689 MB / 432.6 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.2387, allocations: 104.7 kB / 432.7 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.2388, allocations: 8 kB / 432.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.239, allocations: 11.94 kB / 432.8 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.239, allocations: 19.97 kB / 432.8 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.2391, allocations: 11.98 kB / 432.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.2392, allocations: 155.2 kB / 432.9 MB, free: 5.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2392, allocations: 3.938 kB / 432.9 MB, free: 5.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.2396, allocations: 95.94 kB / 433 MB, free: 5.434 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 (20): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/0.2398, allocations: 127.2 kB / 433.2 MB, free: 5.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.241, allocations: 0.6116 MB / 433.8 MB, free: 4.676 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.241, allocations: 0 / 433.8 MB, free: 4.676 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008225/0.2418, allocations: 426.4 kB / 434.2 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.2421, allocations: 23.98 kB / 434.2 MB, free: 4.223 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007257/0.2429, allocations: 0.5979 MB / 434.8 MB, free: 3.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.243, allocations: 0.7485 MB / 435.6 MB, free: 2.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.2431, allocations: 27.42 kB / 435.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2431, allocations: 0 / 435.6 MB, free: 2.797 MB / 302.1 MB Notification: Performance of Templates: time 0.005467/0.2486, allocations: 4.51 MB / 440.1 MB, free: 14.29 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)