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.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 116.3 kB / 17.13 MB, free: 5.965 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.00216/0.00216, allocations: 197.2 kB / 18.06 MB, free: 5.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.557/2.557, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.09691/0.09691, allocations: 8.097 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 67.89 kB / 415.2 MB, free: 21.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1687, allocations: 51.51 MB / 466.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.01367/0.1825, allocations: 5.919 MB / 472.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00814/0.1907, allocations: 2.337 MB / 474.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.1922, allocations: 19.94 kB / 474.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.194, allocations: 317.8 kB / 475.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003889/0.1979, allocations: 0.6094 MB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005883/0.2038, allocations: 1.459 MB / 477.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004091/0.2079, allocations: 1.299 MB / 478.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.2093, allocations: 413 kB / 479 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.2107, allocations: 0.5409 MB / 479.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.213, allocations: 0.6963 MB / 480.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005833/0.2136, allocations: 104 kB / 480.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.2156, allocations: 339.8 kB / 480.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006869/0.2163, allocations: 258.9 kB / 481 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002049/0.2184, allocations: 0.6102 MB / 481.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004886/0.2233, allocations: 1.425 MB / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.2233, allocations: 0 / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.2234, allocations: 0 / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.309e-05/0.2234, allocations: 0 / 483 MB, free: 1.875 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.02644/0.2499, allocations: 3.154 MB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.654e-05/0.25, allocations: 11.89 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009539/0.251, allocations: 135.4 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.2539, allocations: 0.6754 MB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.2541, allocations: 78.38 kB / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005118/0.2546, allocations: 96.38 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004664/0.2593, allocations: 1.346 MB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.2594, allocations: 0 / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.2596, allocations: 36 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.2597, allocations: 20 kB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00396/0.2637, allocations: 1.277 MB / 489.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/0.2785, allocations: 5.215 MB / 495 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006133/0.2847, allocations: 3.116 MB / 498.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002822/0.2876, allocations: 0.9693 MB / 499.1 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/0.288, allocations: 41.2 kB / 499.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.981e-05/0.2881, allocations: 64.03 kB / 499.2 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=147): time 8.155e-06/0.2881, allocations: 0 / 499.2 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of matching and sorting (n=147): time 0.05351/0.3417, allocations: 7.065 MB / 0.4944 GB, free: 9.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.3419, allocations: 116.1 kB / 0.4945 GB, free: 9.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.3437, allocations: 0.6447 MB / 0.4952 GB, free: 8.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004544/0.3442, allocations: 69.64 kB / 0.4952 GB, free: 8.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/0.3447, allocations: 334.3 kB / 0.4955 GB, free: 8.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009178/0.3457, allocations: 0.4888 MB / 0.496 GB, free: 7.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.3469, allocations: 271.6 kB / 0.4963 GB, free: 7.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002528/0.3471, allocations: 349.9 kB / 0.4966 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002861/0.35, allocations: 0.8591 MB / 0.4974 GB, free: 6.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002986/0.353, allocations: 0.9807 MB / 0.4984 GB, free: 5.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00602/0.3591, allocations: 1.935 MB / 0.5003 GB, free: 3.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.3591, allocations: 4 kB / 0.5003 GB, free: 3.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.4725/0.8317, allocations: 3.818 MB / 0.504 GB, free: 43.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.8318, allocations: 5.688 kB / 0.504 GB, free: 43.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.8318, allocations: 3.344 kB / 0.504 GB, free: 43.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01951/0.8513, allocations: 3.937 MB / 0.5079 GB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.8532, allocations: 227.4 kB / 0.5081 GB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0364/0.8896, allocations: 11.43 MB / 0.5193 GB, free: 37.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/0.8917, allocations: 139.1 kB / 0.5194 GB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002679/0.8919, allocations: 55.58 kB / 0.5194 GB, free: 37.64 MB / 382.1 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.0007748/0.8927, allocations: 261.1 kB / 0.5197 GB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004123/0.8932, allocations: 112.2 kB / 0.5198 GB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/0.9081, allocations: 3.793 MB / 0.5235 GB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/0.9081, allocations: 18.22 kB / 0.5235 GB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.9082, allocations: 0 / 0.5235 GB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.997e-05/0.9082, allocations: 6.984 kB / 0.5235 GB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.924, allocations: 5.313 MB / 0.5287 GB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.9241, allocations: 4 kB / 0.5287 GB, free: 33.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009972/0.9251, allocations: 181 kB / 0.5289 GB, free: 33.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0145/0.9396, allocations: 2.72 MB / 0.5315 GB, free: 32.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004511/0.9401, allocations: 39.98 kB / 0.5316 GB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02982/0.9699, allocations: 11.23 MB / 0.5426 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.97, allocations: 7.938 kB / 0.5426 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/0.9833, allocations: 3.656 MB / 0.5461 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005012/0.9839, allocations: 203.3 kB / 0.5463 GB, free: 16.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004177/0.9843, allocations: 31.98 kB / 0.5464 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/0.9859, allocations: 95.06 kB / 0.5464 GB, free: 16.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006753/0.9866, allocations: 126.4 kB / 0.5466 GB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/0.9868, allocations: 47.98 kB / 0.5466 GB, free: 16.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000819/0.9876, allocations: 439 kB / 0.547 GB, free: 16.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9876, allocations: 0 / 0.547 GB, free: 16.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002634/0.9903, allocations: 0.5338 MB / 0.5476 GB, free: 15.67 MB / 382.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 (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.0004507/0.9907, allocations: 167.7 kB / 0.5477 GB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01087/1.002, allocations: 3.182 MB / 0.5508 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.719e-05/1.002, allocations: 0.6562 kB / 0.5508 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007865/1.01, allocations: 2.108 MB / 0.5529 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/1.011, allocations: 151.4 kB / 0.553 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005864/1.017, allocations: 2.21 MB / 0.5552 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000688/1.018, allocations: 1.088 MB / 0.5562 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/1.018, allocations: 95.39 kB / 0.5563 GB, free: 6.617 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/1.018, allocations: 4 kB / 0.5563 GB, free: 6.613 MB / 382.1 MB Notification: Performance of Templates: time 0.05159/1.07, allocations: 22.85 MB / 0.5787 GB, free: 15.79 MB / 414.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile (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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)