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.0009746/0.0009746, allocations: 84.19 kB / 15.75 MB, free: 416 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.00142/0.00142, allocations: 174.9 kB / 16.63 MB, free: 6.887 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.376/1.376, allocations: 223.3 MB / 240.7 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1874/0.1874, allocations: 8.086 MB / 299.9 MB, free: 2.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002879, allocations: 12 kB / 362.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 52.52 MB / 415.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.001406/0.1153, allocations: 0.9257 MB / 416.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1168, allocations: 1.182 MB / 417.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.1169, allocations: 4 kB / 417.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.1172, allocations: 83.67 kB / 417.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1174, allocations: 55.66 kB / 417.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1185, allocations: 0.584 MB / 418.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.1187, allocations: 127.4 kB / 418.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1189, allocations: 45.08 kB / 418.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.119, allocations: 43.84 kB / 418.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.1191, allocations: 55.77 kB / 418.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.1191, allocations: 8 kB / 418.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.1194, allocations: 127.8 kB / 418.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.1194, allocations: 23.92 kB / 418.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.1195, allocations: 49.64 kB / 418.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.1199, allocations: 183.7 kB / 418.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1199, allocations: 0 / 418.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1199, allocations: 0 / 418.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.1199, allocations: 0 / 418.8 MB, free: 5.223 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.001511/0.1214, allocations: 0.5439 MB / 419.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1215, allocations: 12.03 kB / 419.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.68e-05/0.1216, allocations: 15.77 kB / 419.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1219, allocations: 206.9 kB / 419.6 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.1219, allocations: 8 kB / 419.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.122, allocations: 12 kB / 419.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.1224, allocations: 157.6 kB / 419.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1224, allocations: 0 / 419.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.1224, allocations: 11.94 kB / 419.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1224, allocations: 4 kB / 419.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.1226, allocations: 119.8 kB / 419.9 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000942/0.1236, allocations: 0.5196 MB / 420.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/0.1243, allocations: 150.5 kB / 420.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.677e-05/0.1244, allocations: 40.86 kB / 420.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.1246, allocations: 85.09 kB / 420.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.1246, allocations: 38.56 kB / 420.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.1246, allocations: 0 / 420.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001109/0.1257, allocations: 351.4 kB / 421.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.1258, allocations: 51.41 kB / 421.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1259, allocations: 128.8 kB / 421.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1259, allocations: 29.7 kB / 421.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.126, allocations: 131.9 kB / 421.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.126, allocations: 27.56 kB / 421.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-06/0.1261, allocations: 8 kB / 421.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1262, allocations: 318.8 kB / 421.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.1263, allocations: 39.98 kB / 421.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.973e-05/0.1264, allocations: 57.33 kB / 421.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.412e-05/0.1265, allocations: 44.38 kB / 421.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1265, allocations: 3.953 kB / 421.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004611/0.1269, allocations: 210.2 kB / 422.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.127, allocations: 4 kB / 422.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.127, allocations: 7.938 kB / 422.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004018/0.1274, allocations: 76.77 kB / 422.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.1275, allocations: 23.98 kB / 422.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2012/0.3287, allocations: 1.514 MB / 423.7 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.3289, allocations: 9 kB / 423.8 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3289, allocations: 6.031 kB / 423.8 MB, free: 40.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.329, allocations: 122.6 kB / 423.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.329, allocations: 3.625 kB / 423.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.3296, allocations: 209.3 kB / 424.1 MB, free: 40.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3296, allocations: 0 / 424.1 MB, free: 40.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3296, allocations: 5.625 kB / 424.1 MB, free: 40.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3296, allocations: 1.594 kB / 424.1 MB, free: 40.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.3298, allocations: 227.7 kB / 424.3 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3299, allocations: 2.75 kB / 424.3 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/0.3299, allocations: 11.98 kB / 424.3 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003635/0.3303, allocations: 79.47 kB / 424.4 MB, free: 40.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3303, allocations: 5.078 kB / 424.4 MB, free: 40.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.3314, allocations: 1.519 MB / 425.9 MB, free: 39.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3315, allocations: 0 / 425.9 MB, free: 39.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.3319, allocations: 274.4 kB / 426.2 MB, free: 39.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.3319, allocations: 88.88 kB / 426.3 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.3319, allocations: 9.406 kB / 426.3 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.332, allocations: 0 / 426.3 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.3321, allocations: 7.797 kB / 426.3 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.3321, allocations: 7.125 kB / 426.3 MB, free: 38.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.3321, allocations: 102.7 kB / 426.4 MB, free: 38.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3321, allocations: 0 / 426.4 MB, free: 38.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.3324, allocations: 49.92 kB / 426.5 MB, free: 38.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001605/0.3326, allocations: 110.5 kB / 426.6 MB, free: 38.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004717/0.3331, allocations: 245.3 kB / 426.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3331, allocations: 0 / 426.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.3334, allocations: 205 kB / 427 MB, free: 38.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.3337, allocations: 11.27 kB / 427 MB, free: 38.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.3342, allocations: 327.5 kB / 427.3 MB, free: 38.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.3343, allocations: 0.7176 MB / 428.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.288e-05/0.3344, allocations: 11.7 kB / 428.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.3344, allocations: 22.08 kB / 428.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3344, allocations: 0 / 428.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of Templates: time 0.003949/0.3384, allocations: 1.806 MB / 429.9 MB, free: 37.55 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: