Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 107 kB / 17.07 MB, free: 6.062 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.001084/0.001084, allocations: 196 kB / 18.01 MB, free: 5.148 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.313/1.313, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04492/0.04492, allocations: 8.098 MB / 300 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.91 kB / 363.2 MB, free: 7.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1933, allocations: 51.51 MB / 414.7 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002441/0.1958, allocations: 1.843 MB / 416.5 MB, free: 23.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1971, allocations: 1.555 MB / 418.1 MB, free: 22.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.1972, allocations: 4 kB / 418.1 MB, free: 22.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.1975, allocations: 143.2 kB / 418.2 MB, free: 22.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1978, allocations: 143.1 kB / 418.4 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.1988, allocations: 0.7858 MB / 419.1 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.1992, allocations: 302.5 kB / 419.4 MB, free: 20.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.1993, allocations: 117.7 kB / 419.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.1994, allocations: 119.6 kB / 419.7 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1996, allocations: 155.4 kB / 419.8 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.1996, allocations: 28 kB / 419.8 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.1998, allocations: 191.7 kB / 420 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.1999, allocations: 55.77 kB / 420.1 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.727e-05/0.2, allocations: 143.3 kB / 420.2 MB, free: 20.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.2003, allocations: 424.6 kB / 420.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2003, allocations: 0 / 420.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2004, allocations: 0 / 420.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.2004, allocations: 0 / 420.6 MB, free: 19.62 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002579/0.2029, allocations: 0.9593 MB / 421.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.203, allocations: 11.89 kB / 421.6 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.2031, allocations: 32.56 kB / 421.6 MB, free: 18.56 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.2033, allocations: 276.4 kB / 421.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2033, allocations: 16.81 kB / 421.9 MB, free: 18.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.2034, allocations: 24.38 kB / 422 MB, free: 18.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.2038, allocations: 343.8 kB / 422.3 MB, free: 17.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2038, allocations: 4.172 kB / 422.3 MB, free: 17.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.2039, allocations: 11.94 kB / 422.3 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2039, allocations: 8 kB / 422.3 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.2043, allocations: 333.6 kB / 422.6 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.2056, allocations: 1.029 MB / 423.7 MB, free: 16.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.206, allocations: 402.4 kB / 424.1 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.2063, allocations: 228.5 kB / 424.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.886e-05/0.2064, allocations: 11.98 kB / 424.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.2064, allocations: 38.5 kB / 424.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.2064, allocations: 8 kB / 424.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002065/0.2085, allocations: 1.05 MB / 425.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.2085, allocations: 55.41 kB / 425.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.2087, allocations: 227 kB / 425.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.2087, allocations: 37.7 kB / 425.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.2088, allocations: 136.6 kB / 425.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.2088, allocations: 118.2 kB / 426 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.209, allocations: 90.11 kB / 426 MB, free: 13.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.209, allocations: 334.8 kB / 426.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.2093, allocations: 236.8 kB / 426.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.2096, allocations: 247.9 kB / 426.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005775/0.2102, allocations: 0.5054 MB / 427.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2102, allocations: 0 / 427.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001112/0.2113, allocations: 0.7247 MB / 428.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2113, allocations: 4 kB / 428.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2114, allocations: 0 / 428.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.2119, allocations: 150.5 kB / 428.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.2123, allocations: 83.89 kB / 428.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.215, allocations: 4.622 MB / 432.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.2152, allocations: 35.47 kB / 433 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.2153, allocations: 19.98 kB / 433 MB, free: 6.539 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.2154, allocations: 145.8 kB / 433.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.2154, allocations: 23.72 kB / 433.1 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.2165, allocations: 0.5885 MB / 433.7 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2165, allocations: 4 kB / 433.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2165, allocations: 4 kB / 433.7 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2165, allocations: 0 / 433.7 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.2168, allocations: 468.9 kB / 434.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2168, allocations: 0 / 434.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.2171, allocations: 51.91 kB / 434.3 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005039/0.2176, allocations: 154.5 kB / 434.4 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.2176, allocations: 7.984 kB / 434.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.2202, allocations: 4.599 MB / 439 MB, free: 0 / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2202, allocations: 0 / 439 MB, free: 0 / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.2213, allocations: 0.635 MB / 439.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.2214, allocations: 108.8 kB / 439.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.2214, allocations: 8 kB / 439.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.2216, allocations: 8 kB / 439.8 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.2217, allocations: 23.97 kB / 439.8 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.2217, allocations: 8 kB / 439.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.2219, allocations: 168.1 kB / 440 MB, free: 15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2219, allocations: 0 / 440 MB, free: 15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004475/0.2223, allocations: 115.9 kB / 440.1 MB, free: 14.89 MB / 318.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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.0001751/0.2225, allocations: 135.1 kB / 440.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.224, allocations: 0.8772 MB / 441.1 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.224, allocations: 0 / 441.1 MB, free: 13.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000952/0.225, allocations: 0.5858 MB / 441.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.2253, allocations: 16.67 kB / 441.7 MB, free: 13.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009368/0.2262, allocations: 0.5674 MB / 442.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.2265, allocations: 0.7572 MB / 443 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.2267, allocations: 42.23 kB / 443.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.2268, allocations: 31.42 kB / 443.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2268, allocations: 0 / 443.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of Templates: time 0.008339/0.2351, allocations: 4.708 MB / 447.8 MB, free: 7.047 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)