Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.LargerNetwork.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.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") translateModel(PowerSysPro.Examples.LargerNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.LargerNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 97.72 kB / 16.06 MB, free: 40 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.001957/0.001957, allocations: 184.6 kB / 16.96 MB, free: 6.914 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.512/1.512, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2042/0.2042, allocations: 8.082 MB / 300.2 MB, free: 2.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 8 kB / 363.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1343, allocations: 52.52 MB / 416 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.2603/0.3946, allocations: 13.77 MB / 429.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009803/0.4045, allocations: 3.928 MB / 433.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.4073, allocations: 44.97 kB / 433.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.4088, allocations: 0.5582 MB / 434.3 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005012/0.4139, allocations: 1.442 MB / 435.7 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004663/0.4185, allocations: 1.982 MB / 437.7 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005863/0.4244, allocations: 3.476 MB / 441.2 MB, free: 32.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.4262, allocations: 0.9966 MB / 442.2 MB, free: 32.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/0.4285, allocations: 1.313 MB / 443.5 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.4311, allocations: 1.711 MB / 445.2 MB, free: 30.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007035/0.4318, allocations: 160 kB / 445.4 MB, free: 30.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.4334, allocations: 420.8 kB / 445.8 MB, free: 30.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004066/0.4338, allocations: 0.5938 MB / 446.4 MB, free: 30.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001593/0.4354, allocations: 1.537 MB / 447.9 MB, free: 29.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004163/0.4396, allocations: 3.409 MB / 451.3 MB, free: 28.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4397, allocations: 0 / 451.3 MB, free: 28.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4397, allocations: 0 / 451.3 MB, free: 28.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001255/0.4398, allocations: 0 / 451.3 MB, free: 28.12 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: 598 * Number of variables: 598 Notification: Performance of Generate backend data structure: time 0.03547/0.4753, allocations: 7.756 MB / 459.1 MB, free: 25.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/0.4754, allocations: 9 kB / 459.1 MB, free: 25.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002294/0.4777, allocations: 386.2 kB / 459.5 MB, free: 25.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0035/0.4812, allocations: 1.544 MB / 461 MB, free: 24.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004252/0.4816, allocations: 0.7477 MB / 461.8 MB, free: 23.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007155/0.4823, allocations: 267.1 kB / 462 MB, free: 23.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006765/0.4891, allocations: 3.832 MB / 465.9 MB, free: 22.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.4892, allocations: 5.031 kB / 465.9 MB, free: 22.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003767/0.4896, allocations: 113.2 kB / 466 MB, free: 21.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.993e-05/0.4897, allocations: 60.97 kB / 466 MB, free: 21.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007649/0.4973, allocations: 3.622 MB / 469.7 MB, free: 20.45 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03343/0.5308, allocations: 14.28 MB / 483.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.543, allocations: 7.601 MB / 491.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007726/0.5508, allocations: 2.853 MB / 494.4 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.5519, allocations: 98.39 kB / 494.5 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007245/0.5591, allocations: 3.059 MB / 497.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=453): time 7.825e-06/0.5592, allocations: 0 / 497.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=453): time 0.01555/0.5747, allocations: 9.122 MB / 0.4948 GB, free: 8.656 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.5749, allocations: 176.1 kB / 0.495 GB, free: 8.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/0.5774, allocations: 1.469 MB / 0.4964 GB, free: 6.984 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008809/0.5783, allocations: 137.7 kB / 0.4965 GB, free: 6.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007054/0.5791, allocations: 0.8382 MB / 0.4973 GB, free: 5.996 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/0.5805, allocations: 1.448 MB / 0.4988 GB, free: 4.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005443/0.581, allocations: 395.7 kB / 0.4991 GB, free: 4.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5812, allocations: 305.1 kB / 0.4994 GB, free: 3.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003894/0.5851, allocations: 2.457 MB / 0.5018 GB, free: 1.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/0.5893, allocations: 2.781 MB / 0.5045 GB, free: 14.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008871/0.5982, allocations: 5.352 MB / 0.5098 GB, free: 9.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/0.5983, allocations: 7.938 kB / 0.5098 GB, free: 9.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.0157/0.614, allocations: 7.962 MB / 0.5176 GB, free: 1.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.6141, allocations: 5.406 kB / 0.5176 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.6141, allocations: 4 kB / 0.5176 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04387/0.6579, allocations: 21.52 MB / 0.5386 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002831/0.6608, allocations: 0.5616 MB / 0.5391 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/0.6777, allocations: 6.856 MB / 0.5458 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004506/0.6823, allocations: 439.8 kB / 0.5462 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009871/0.6833, allocations: 159.9 kB / 0.5464 GB, free: 3.484 MB / 414.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: 60 (b61106.degradedMode,$PRE.b61106.degradedMode,b87656.degradedMode,$PRE.b87656.degradedMode,b56131.degradedMode,$PRE.b56131.degradedMode,b61275.degradedMode,$PRE.b61275.degradedMode,b61273.degradedMode,$PRE.b61273.degradedMode,b61274.degradedMode,$PRE.b61274.degradedMode,b61089.degradedMode,$PRE.b61089.degradedMode,b61227.degradedMode,$PRE.b61227.degradedMode,b11403.degradedMode,$PRE.b11403.degradedMode,b11407.degradedMode,$PRE.b11407.degradedMode,b61254.degradedMode,$PRE.b61254.degradedMode,b61260.degradedMode,$PRE.b61260.degradedMode,b11465.degradedMode,$PRE.b11465.degradedMode,b87694.degradedMode,$PRE.b87694.degradedMode,b61121.degradedMode,$PRE.b61121.degradedMode,b61232.degradedMode,$PRE.b61232.degradedMode,b11480.degradedMode,$PRE.b11480.degradedMode,b61256.degradedMode,$PRE.b61256.degradedMode,b11458.degradedMode,$PRE.b11458.degradedMode,b61280.degradedMode,$PRE.b61280.degradedMode,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (375): * Single equations (assignments): 374 * 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 {(79,137)} Notification: Performance of prepare postOptimizeDAE: time 0.002474/0.6858, allocations: 0.5298 MB / 0.5469 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/0.6871, allocations: 304.4 kB / 0.5472 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/0.7034, allocations: 7.86 MB / 0.5549 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.617e-05/0.7035, allocations: 51.94 kB / 0.5549 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.7036, allocations: 4 kB / 0.5549 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.056e-05/0.7036, allocations: 23.91 kB / 0.555 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02537/0.729, allocations: 12.64 MB / 0.5673 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/0.7291, allocations: 0 / 0.5673 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.7308, allocations: 435.4 kB / 0.5677 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03385/0.7647, allocations: 10.1 MB / 0.5776 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001484/0.7662, allocations: 103.9 kB / 0.5777 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2932/1.059, allocations: 7.035 MB / 0.5845 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.059, allocations: 0.5 kB / 0.5846 GB, free: 130.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/1.074, allocations: 7.699 MB / 0.5921 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002709/1.077, allocations: 0.9661 MB / 0.593 GB, free: 128.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007136/1.078, allocations: 86.91 kB / 0.5931 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003581/1.081, allocations: 344.1 kB / 0.5934 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006706/1.082, allocations: 313.1 kB / 0.5937 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00033/1.082, allocations: 163.2 kB / 0.5939 GB, free: 128 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001387/1.084, allocations: 0.9265 MB / 0.5948 GB, free: 127.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/1.084, allocations: 0 / 0.5948 GB, free: 127.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002617/1.086, allocations: 1.067 MB / 0.5958 GB, free: 127.5 MB / 446.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: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,b61280.degradedMode,b11458.degradedMode,b61256.degradedMode,b11480.degradedMode,b61232.degradedMode,b61121.degradedMode,b87694.degradedMode,b11465.degradedMode,b61260.degradedMode,b61254.degradedMode,b11407.degradedMode,b11403.degradedMode,b61227.degradedMode,b61089.degradedMode,b61274.degradedMode,b61273.degradedMode,b61275.degradedMode,b56131.degradedMode,b87656.degradedMode,b61106.degradedMode) * Number of discrete states: 20 (b61089.degradedMode,b11407.degradedMode,b11403.degradedMode,b61275.degradedMode,b61273.degradedMode,b61254.degradedMode,b61274.degradedMode,b61260.degradedMode,b11465.degradedMode,b61227.degradedMode,b87656.degradedMode,b56131.degradedMode,b61256.degradedMode,b11480.degradedMode,b87694.degradedMode,b61232.degradedMode,b11458.degradedMode,b61121.degradedMode,b61280.degradedMode,b61106.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 269 * 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 {(74,162)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006432/1.087, allocations: 275.6 kB / 0.5961 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01779/1.105, allocations: 7.008 MB / 0.6029 GB, free: 124.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-05/1.105, allocations: 12.5 kB / 0.6029 GB, free: 124.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01306/1.118, allocations: 4.017 MB / 0.6069 GB, free: 123.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005225/1.123, allocations: 378.7 kB / 0.6072 GB, free: 122.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/1.139, allocations: 7.378 MB / 0.6144 GB, free: 118.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/1.141, allocations: 1.719 MB / 0.6161 GB, free: 118.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001643/1.142, allocations: 350.2 kB / 0.6164 GB, free: 118 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/1.143, allocations: 220.8 kB / 0.6167 GB, free: 118 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/1.143, allocations: 0 / 0.6167 GB, free: 118 MB / 446.1 MB Notification: Performance of Templates: time 0.1028/1.246, allocations: 66.31 MB / 0.6814 GB, free: 65.09 MB / 446.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.LargerNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.LargerNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe 2>&1) Environment - environmentSimulation: