Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") translateModel(PowerSysPro.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 97.72 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 181.1 kB / 16.96 MB, free: 6.895 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.481/1.481, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1917/0.1917, allocations: 8.085 MB / 300.2 MB, free: 2.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003442, allocations: 8 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 52.52 MB / 416 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.0015/0.1086, allocations: 0.9717 MB / 417 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.1102, allocations: 1.22 MB / 418.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.1103, allocations: 11.94 kB / 418.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.1107, allocations: 95.66 kB / 418.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.1109, allocations: 43.75 kB / 418.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1121, allocations: 0.7122 MB / 419.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.1124, allocations: 123.4 kB / 419.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.1125, allocations: 49.08 kB / 419.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.334e-05/0.1126, allocations: 47.8 kB / 419.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1127, allocations: 55.77 kB / 419.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.1128, allocations: 8 kB / 419.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.1131, allocations: 139.8 kB / 419.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.1131, allocations: 23.86 kB / 419.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.166e-05/0.1132, allocations: 77.44 kB / 419.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.1136, allocations: 251.5 kB / 419.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1137, allocations: 3.938 kB / 419.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1137, allocations: 0 / 419.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1137, allocations: 0 / 419.8 MB, free: 4.551 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001372/0.1151, allocations: 0.5418 MB / 420.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1151, allocations: 8.031 kB / 420.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.1152, allocations: 12.84 kB / 420.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.1154, allocations: 204.2 kB / 420.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.1155, allocations: 16.31 kB / 420.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.1155, allocations: 16.38 kB / 420.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.1158, allocations: 150.2 kB / 420.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1159, allocations: 192 / 420.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.1159, allocations: 11.94 kB / 420.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1159, allocations: 3.984 kB / 420.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.1161, allocations: 112 kB / 420.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008885/0.117, allocations: 0.5235 MB / 421.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007732/0.1178, allocations: 146.5 kB / 421.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.1179, allocations: 44.86 kB / 421.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.118, allocations: 93.02 kB / 421.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1181, allocations: 30.56 kB / 421.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1181, allocations: 0 / 421.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001167/0.1193, allocations: 351.4 kB / 422.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1193, allocations: 51.41 kB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1195, allocations: 144.4 kB / 422.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.1195, allocations: 25.7 kB / 422.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.1196, allocations: 132 kB / 422.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.1196, allocations: 27.56 kB / 422.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.1197, allocations: 21.7 kB / 422.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1198, allocations: 314.8 kB / 422.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.59e-05/0.1199, allocations: 43.98 kB / 422.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.589e-05/0.12, allocations: 57.69 kB / 422.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.1202, allocations: 105.7 kB / 423 MB, free: 1.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1202, allocations: 4 kB / 423 MB, free: 1.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005137/0.1207, allocations: 206.2 kB / 423.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1208, allocations: 4 kB / 423.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1208, allocations: 384 / 423.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004375/0.1212, allocations: 80.8 kB / 423.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.1213, allocations: 19.94 kB / 423.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2305/0.3518, allocations: 1.522 MB / 424.8 MB, free: 40.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3519, allocations: 17.44 kB / 424.8 MB, free: 40.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.352, allocations: 3.984 kB / 424.8 MB, free: 40.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.3521, allocations: 121.8 kB / 424.9 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.3521, allocations: 8.688 kB / 424.9 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005184/0.3526, allocations: 206.9 kB / 425.1 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3527, allocations: 1.734 kB / 425.1 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.3527, allocations: 3.703 kB / 425.1 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3527, allocations: 0 / 425.1 MB, free: 40.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3529, allocations: 236.1 kB / 425.4 MB, free: 40.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3529, allocations: 0 / 425.4 MB, free: 40.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-05/0.3529, allocations: 12.77 kB / 425.4 MB, free: 40.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003445/0.3533, allocations: 79 kB / 425.5 MB, free: 40.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3533, allocations: 4.594 kB / 425.5 MB, free: 40.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.3545, allocations: 1.512 MB / 427 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3546, allocations: 3.938 kB / 427 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.355, allocations: 292.1 kB / 427.3 MB, free: 38.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.3551, allocations: 85.73 kB / 427.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3551, allocations: 2.391 kB / 427.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3552, allocations: 3.109 kB / 427.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.3553, allocations: 16.78 kB / 427.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.3553, allocations: 6.719 kB / 427.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.311e-05/0.3553, allocations: 97.3 kB / 427.5 MB, free: 38.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3553, allocations: 0 / 427.5 MB, free: 38.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.3557, allocations: 47.89 kB / 427.5 MB, free: 38.45 MB / 350.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 (8): * Single equations (assignments): 7 * 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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002174/0.3559, allocations: 113.9 kB / 427.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000601/0.3565, allocations: 254.7 kB / 427.9 MB, free: 38.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3565, allocations: 0 / 427.9 MB, free: 38.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.3569, allocations: 194.7 kB / 428.1 MB, free: 38.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.3571, allocations: 12 kB / 428.1 MB, free: 38.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.3577, allocations: 354.7 kB / 428.4 MB, free: 37.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.3578, allocations: 0.7122 MB / 429.1 MB, free: 37.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.231e-05/0.3579, allocations: 11.67 kB / 429.2 MB, free: 37.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.3579, allocations: 12.94 kB / 429.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3579, allocations: 0 / 429.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of Templates: time 0.004526/0.3624, allocations: 1.869 MB / 431 MB, free: 37.11 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & ./PowerSysPro_PowerSysPro.Tests.OnePerfectLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) Environment - environmentSimulation: