Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 109.7 kB / 290.6 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04903/0.04903, allocations: 8.088 MB / 348.8 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 47.92 kB / 411.1 MB, free: 57.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09574, allocations: 51.52 MB / 462.6 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002614/0.09841, allocations: 1.716 MB / 464.3 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.1002, allocations: 1.559 MB / 465.9 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.1004, allocations: 4 kB / 465.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.1009, allocations: 119.5 kB / 466 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.1012, allocations: 111.4 kB / 466.1 MB, free: 2.523 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1026, allocations: 0.8907 MB / 467 MB, free: 1.633 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.1029, allocations: 250.8 kB / 467.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.1031, allocations: 87.28 kB / 467.3 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1033, allocations: 99.58 kB / 467.4 MB, free: 1.195 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.1035, allocations: 139.4 kB / 467.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.1035, allocations: 16 kB / 467.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.1039, allocations: 199.8 kB / 467.8 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.1039, allocations: 51.77 kB / 467.8 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.603e-05/0.104, allocations: 119.3 kB / 467.9 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.1045, allocations: 411.1 kB / 468.4 MB, free: 284 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1045, allocations: 0 / 468.4 MB, free: 284 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1045, allocations: 0 / 468.4 MB, free: 284 kB / 298.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1045, allocations: 0 / 468.4 MB, free: 284 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002627/0.1072, allocations: 0.8501 MB / 469.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1072, allocations: 12.03 kB / 469.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.848e-05/0.1073, allocations: 24.66 kB / 469.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.1076, allocations: 269.5 kB / 469.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1077, allocations: 16.81 kB / 469.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.1077, allocations: 20.38 kB / 469.5 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.1082, allocations: 295.7 kB / 469.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1082, allocations: 4.188 kB / 469.8 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.1082, allocations: 7.938 kB / 469.8 MB, free: 14.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1083, allocations: 8 kB / 469.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.1087, allocations: 281.6 kB / 470.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.1102, allocations: 1.027 MB / 471.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.1112, allocations: 459.8 kB / 471.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.1114, allocations: 192.7 kB / 471.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.574e-05/0.1115, allocations: 8 kB / 471.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1116, allocations: 42.5 kB / 471.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.874e-06/0.1116, allocations: 0 / 471.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002962/0.1145, allocations: 0.9505 MB / 472.8 MB, free: 11.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.1146, allocations: 59.41 kB / 472.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.1148, allocations: 223.7 kB / 473.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.1149, allocations: 29.7 kB / 473.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.115, allocations: 140.6 kB / 473.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.481e-05/0.1151, allocations: 102.5 kB / 473.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.1152, allocations: 73.62 kB / 473.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1153, allocations: 334.8 kB / 473.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.1156, allocations: 175.9 kB / 473.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.1159, allocations: 187.9 kB / 474.1 MB, free: 10.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/0.1164, allocations: 384.8 kB / 474.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1164, allocations: 0 / 474.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00141/0.1178, allocations: 0.6546 MB / 475.1 MB, free: 9.203 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1179, allocations: 19.92 kB / 475.1 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1179, allocations: 0 / 475.1 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.119, allocations: 236.6 kB / 475.4 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.1192, allocations: 55.91 kB / 475.4 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.1228, allocations: 2.514 MB / 477.9 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.1231, allocations: 31.59 kB / 478 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.1231, allocations: 15.98 kB / 478 MB, free: 6.207 MB / 314.7 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.1233, allocations: 146.4 kB / 478.1 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.1234, allocations: 19.81 kB / 478.1 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.1248, allocations: 0.6106 MB / 478.7 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1248, allocations: 4 kB / 478.8 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1248, allocations: 0 / 478.8 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1248, allocations: 0 / 478.8 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.1266, allocations: 1.061 MB / 479.8 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1267, allocations: 0 / 479.8 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.1268, allocations: 35.92 kB / 479.8 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.1278, allocations: 244.6 kB / 480.1 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.1278, allocations: 4 kB / 480.1 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003232/0.1311, allocations: 2.476 MB / 482.6 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1311, allocations: 0 / 482.6 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2164/0.3475, allocations: 1.417 MB / 484 MB, free: 28.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.3477, allocations: 99.69 kB / 484.1 MB, free: 28.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.664e-05/0.3478, allocations: 9.25 kB / 484.1 MB, free: 28.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.3481, allocations: 12.06 kB / 484.1 MB, free: 28.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.3483, allocations: 23.66 kB / 484.1 MB, free: 28.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.3484, allocations: 14.53 kB / 484.1 MB, free: 28.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000312/0.3487, allocations: 167.6 kB / 484.3 MB, free: 28.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3487, allocations: 0 / 484.3 MB, free: 28.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008153/0.3495, allocations: 112.1 kB / 484.4 MB, free: 28.05 MB / 314.7 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002398/0.3498, allocations: 115.2 kB / 484.5 MB, free: 27.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.3512, allocations: 0.6129 MB / 485.1 MB, free: 27.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3513, allocations: 0 / 485.1 MB, free: 27.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000833/0.3521, allocations: 399.8 kB / 485.5 MB, free: 27.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.3525, allocations: 24.8 kB / 485.6 MB, free: 27.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.3536, allocations: 0.8096 MB / 486.4 MB, free: 27.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.3538, allocations: 0.7619 MB / 487.1 MB, free: 26.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.3539, allocations: 36.08 kB / 487.2 MB, free: 26.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.354, allocations: 24.75 kB / 487.2 MB, free: 26.56 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.354, allocations: 3.75 kB / 487.2 MB, free: 26.56 MB / 314.7 MB Notification: Performance of Templates: time 0.01126/0.3653, allocations: 6.33 MB / 493.5 MB, free: 25.96 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)