Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 103.3 kB / 16.45 MB, free: 6.441 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.001117/0.001117, allocations: 189.4 kB / 17.39 MB, free: 5.691 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.39/1.39, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05905/0.05905, allocations: 8.104 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1113, allocations: 51.52 MB / 466 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.002473/0.1138, allocations: 1.061 MB / 467 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1158, allocations: 1.458 MB / 468.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1159, allocations: 0 / 468.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.1163, allocations: 103.5 kB / 468.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.1166, allocations: 83.52 kB / 468.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.1181, allocations: 0.879 MB / 469.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1183, allocations: 111.5 kB / 469.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1185, allocations: 37.08 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.743e-05/0.1185, allocations: 43.86 kB / 469.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.1186, allocations: 51.77 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1187, allocations: 8 kB / 469.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.1191, allocations: 215.7 kB / 470 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.1191, allocations: 23.91 kB / 470 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.1192, allocations: 51.73 kB / 470.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004941/0.1197, allocations: 287.2 kB / 470.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1197, allocations: 0 / 470.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1197, allocations: 0 / 470.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1197, allocations: 0 / 470.4 MB, free: 13.76 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001994/0.1217, allocations: 0.6434 MB / 471 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1218, allocations: 12.03 kB / 471 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.1218, allocations: 12.84 kB / 471 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1221, allocations: 204.1 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1221, allocations: 8.375 kB / 471.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1222, allocations: 12.38 kB / 471.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1224, allocations: 154.4 kB / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1225, allocations: 192 / 471.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.1225, allocations: 11.94 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1225, allocations: 0 / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.1227, allocations: 120 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008299/0.1235, allocations: 0.4963 MB / 472 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.1242, allocations: 166.6 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.335e-05/0.1243, allocations: 52.84 kB / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/0.1248, allocations: 458.1 kB / 472.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1248, allocations: 34.56 kB / 472.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1248, allocations: 4 kB / 472.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007922/0.1256, allocations: 291.4 kB / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.1257, allocations: 85.11 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1258, allocations: 165.3 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1259, allocations: 25.7 kB / 473.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.1259, allocations: 115.8 kB / 473.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.126, allocations: 35.55 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.1261, allocations: 49.59 kB / 473.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1262, allocations: 326.8 kB / 473.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.441e-05/0.1263, allocations: 60.36 kB / 473.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1264, allocations: 109.9 kB / 474 MB, free: 9.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.1267, allocations: 177.1 kB / 474.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1267, allocations: 0 / 474.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005284/0.1272, allocations: 261.2 kB / 474.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1272, allocations: 8.156 kB / 474.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1273, allocations: 0 / 474.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004493/0.1277, allocations: 72.73 kB / 474.5 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1279, allocations: 35.92 kB / 474.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/0.1296, allocations: 1.481 MB / 476 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.1298, allocations: 19.84 kB / 476 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.1298, allocations: 8 kB / 476 MB, free: 7.617 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.13, allocations: 145.6 kB / 476.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.13, allocations: 11.81 kB / 476.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004742/0.1305, allocations: 187.2 kB / 476.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1305, allocations: 4 kB / 476.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1306, allocations: 0 / 476.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1306, allocations: 0 / 476.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.1309, allocations: 233.5 kB / 476.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1309, allocations: 0 / 476.6 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-05/0.131, allocations: 19.92 kB / 476.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003267/0.1313, allocations: 64.81 kB / 476.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1313, allocations: 4 kB / 476.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.1327, allocations: 1.476 MB / 478.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1327, allocations: 0 / 478.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.1332, allocations: 272.2 kB / 478.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.1332, allocations: 92.94 kB / 478.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1333, allocations: 8 kB / 478.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1334, allocations: 4 kB / 478.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.1334, allocations: 11.92 kB / 478.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1334, allocations: 4 kB / 478.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.541e-05/0.1335, allocations: 123.2 kB / 478.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1336, allocations: 0 / 478.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003392/0.1339, allocations: 40 kB / 478.7 MB, free: 4.691 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 (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 {(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.0002036/0.1341, allocations: 111.2 kB / 478.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006203/0.1347, allocations: 266.5 kB / 479.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1348, allocations: 0 / 479.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.1351, allocations: 186.5 kB / 479.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.1353, allocations: 11.94 kB / 479.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.136, allocations: 266.5 kB / 479.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.1364, allocations: 0.7006 MB / 480.2 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.821e-05/0.1365, allocations: 20.8 kB / 480.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.1366, allocations: 23.38 kB / 480.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1366, allocations: 0 / 480.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of Templates: time 0.005521/0.1421, allocations: 1.895 MB / 482.2 MB, free: 1.152 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)