Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 79.36 kB / 20.47 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 169 kB / 23.84 MB, free: 0.7266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.027/1.027, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.05861/0.05861, allocations: 4.484 MB / 265.2 MB, free: 8.555 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 336.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.123e-05, allocations: 5.406 kB / 336.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.003246/0.003268, allocations: 5.454 MB / 341.9 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.005489, allocations: 2.353 MB / 344.3 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002553/0.005744, allocations: 16 kB / 344.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.006178, allocations: 317.7 kB / 344.6 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007087/0.006886, allocations: 0.6128 MB / 345.2 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.008099, allocations: 1.37 MB / 346.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007149/0.008814, allocations: 1.322 MB / 347.9 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002619/0.009076, allocations: 261.6 kB / 348.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.009495, allocations: 0.7638 MB / 348.9 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.009881, allocations: 0.5297 MB / 349.5 MB, free: 200 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.979e-05/0.009971, allocations: 104 kB / 349.6 MB, free: 96 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.01045, allocations: 339.5 kB / 349.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.01058, allocations: 266.9 kB / 350.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.01086, allocations: 422.9 kB / 350.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000933/0.0118, allocations: 1.129 MB / 351.7 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.0118, allocations: 0 / 351.7 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.0118, allocations: 0 / 351.7 MB, free: 13.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.01182, allocations: 0 / 351.7 MB, free: 13.95 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.006255/0.01807, allocations: 3.271 MB / 355 MB, free: 10.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.01811, allocations: 12.03 kB / 355 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.0184, allocations: 204.1 kB / 355.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006404/0.01904, allocations: 0.6223 MB / 355.8 MB, free: 9.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.01908, allocations: 74.38 kB / 355.9 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.01919, allocations: 108.4 kB / 356 MB, free: 9.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.02055, allocations: 1.563 MB / 357.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.02056, allocations: 192 / 357.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.02064, allocations: 40.38 kB / 357.6 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.02066, allocations: 19.94 kB / 357.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008669/0.02153, allocations: 0.5387 MB / 358.2 MB, free: 7.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003474/0.025, allocations: 2.764 MB / 360.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.02637, allocations: 1.201 MB / 362.1 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.02693, allocations: 466.1 kB / 362.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.02704, allocations: 37.3 kB / 362.6 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.02708, allocations: 62.92 kB / 362.7 MB, free: 2.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=147): time 2.806e-06/0.02708, allocations: 0 / 362.7 MB, free: 2.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=147): time 0.01369/0.04077, allocations: 5.612 MB / 368.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.04083, allocations: 120.1 kB / 368.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.04132, allocations: 0.6361 MB / 369 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.722e-05/0.04142, allocations: 61.7 kB / 369.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.04161, allocations: 385.5 kB / 369.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.04189, allocations: 0.5034 MB / 370 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/0.04222, allocations: 305.2 kB / 370.3 MB, free: 11.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.04234, allocations: 0.5121 MB / 370.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006603/0.043, allocations: 471.8 kB / 371.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007501/0.04375, allocations: 0.6525 MB / 371.9 MB, free: 9.355 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.04514, allocations: 1.153 MB / 373.1 MB, free: 8.199 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.04515, allocations: 7.984 kB / 373.1 MB, free: 8.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004954/0.0501, allocations: 2.795 MB / 375.9 MB, free: 5.379 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.05012, allocations: 4 kB / 375.9 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.05013, allocations: 3.938 kB / 375.9 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007441/0.05757, allocations: 3.824 MB / 379.7 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.05811, allocations: 231.7 kB / 379.9 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.06907, allocations: 6.959 MB / 386.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006728/0.06974, allocations: 134.9 kB / 387 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/0.06982, allocations: 55.98 kB / 387.1 MB, free: 10.06 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 (135): * Single equations (assignments): 134 * 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 {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0003168/0.07014, allocations: 236.3 kB / 387.3 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.07032, allocations: 159.3 kB / 387.4 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/0.0752, allocations: 2.702 MB / 390.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.07521, allocations: 19.98 kB / 390.2 MB, free: 6.918 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.07521, allocations: 4 kB / 390.2 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.07522, allocations: 7.969 kB / 390.2 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006843/0.08207, allocations: 3.69 MB / 393.9 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.08207, allocations: 0 / 393.9 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.0824, allocations: 175.7 kB / 394 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00677/0.08917, allocations: 2.999 MB / 397 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.08929, allocations: 35.98 kB / 397.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.09954, allocations: 6.794 MB / 403.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.09954, allocations: 4 kB / 403.9 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/0.1045, allocations: 2.699 MB / 406.6 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.1047, allocations: 130.9 kB / 406.7 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.1048, allocations: 32 kB / 406.7 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.1053, allocations: 63.95 kB / 406.8 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.1055, allocations: 130.4 kB / 406.9 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.319e-05/0.1056, allocations: 55.98 kB / 407 MB, free: 5.887 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003013/0.1059, allocations: 403 kB / 407.4 MB, free: 5.492 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1059, allocations: 0 / 407.4 MB, free: 5.492 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009927/0.1069, allocations: 0.5232 MB / 407.9 MB, free: 4.969 MB / 330.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 (106): * Single equations (assignments): 105 * 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 {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000282/0.1072, allocations: 167.6 kB / 408.1 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003767/0.111, allocations: 2.392 MB / 410.5 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.111, allocations: 8.656 kB / 410.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00275/0.1137, allocations: 1.739 MB / 412.2 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.1143, allocations: 158.8 kB / 412.4 MB, free: 480 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1124/0.2267, allocations: 1.937 MB / 414.3 MB, free: 70.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.2269, allocations: 249.2 kB / 414.5 MB, free: 70.4 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003904/0.2273, allocations: 144.8 kB / 414.7 MB, free: 70.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.2275, allocations: 88.06 kB / 414.8 MB, free: 70.38 MB / 330.7 MB Notification: Performance of SimCode: time 1.613e-06/0.2275, allocations: 0 / 414.8 MB, free: 70.38 MB / 330.7 MB Notification: Performance of Templates: time 0.03416/0.2617, allocations: 38.35 MB / 453.1 MB, free: 43.52 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6290435269474983]