Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 106.2 kB / 16.31 MB, free: 6.391 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.001581/0.001581, allocations: 189.8 kB / 17.24 MB, free: 5.922 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05673/0.05673, allocations: 8.098 MB / 299.2 MB, free: 6.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.91 kB / 361.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2843, allocations: 51.51 MB / 413.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.004793/0.2892, allocations: 6.115 MB / 419.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003369/0.2926, allocations: 2.441 MB / 421.8 MB, free: 17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004873/0.2931, allocations: 23.94 kB / 421.8 MB, free: 16.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.2938, allocations: 329.7 kB / 422.2 MB, free: 16.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.295, allocations: 0.6522 MB / 422.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.2971, allocations: 1.473 MB / 424.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.2984, allocations: 1.439 MB / 425.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005326/0.2989, allocations: 0.521 MB / 426.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.2994, allocations: 0.6033 MB / 426.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005622/0.2999, allocations: 0.7431 MB / 427.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.3001, allocations: 144 kB / 427.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.3007, allocations: 383.8 kB / 428.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.3008, allocations: 310.9 kB / 428.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004003/0.3012, allocations: 0.6999 MB / 429.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.3023, allocations: 1.807 MB / 430.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3024, allocations: 0 / 430.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3024, allocations: 0 / 430.9 MB, free: 7.852 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3024, allocations: 0 / 430.9 MB, free: 7.852 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.01155/0.3139, allocations: 3.236 MB / 434.1 MB, free: 4.555 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.486e-05/0.314, allocations: 8.031 kB / 434.2 MB, free: 4.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.3143, allocations: 147.3 kB / 434.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/0.3152, allocations: 0.7653 MB / 435.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.3153, allocations: 74.38 kB / 435.1 MB, free: 3.523 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.3154, allocations: 100.4 kB / 435.2 MB, free: 3.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.3173, allocations: 1.518 MB / 436.8 MB, free: 1.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3174, allocations: 192 / 436.8 MB, free: 1.891 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.3175, allocations: 47.94 kB / 436.8 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3175, allocations: 20 kB / 436.8 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.3193, allocations: 1.476 MB / 438.3 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007801/0.3272, allocations: 6.015 MB / 444.3 MB, free: 9.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/0.3306, allocations: 3.757 MB / 448.1 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.3321, allocations: 1.102 MB / 449.2 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.3323, allocations: 37.27 kB / 449.2 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.3323, allocations: 60.03 kB / 449.3 MB, free: 4.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=151): time 3.997e-06/0.3324, allocations: 0 / 449.3 MB, free: 4.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=151): time 0.03341/0.3658, allocations: 8.282 MB / 457.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.3659, allocations: 124.1 kB / 457.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.367, allocations: 0.6721 MB / 458.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.3672, allocations: 65.7 kB / 458.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.3675, allocations: 342.3 kB / 458.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.3679, allocations: 0.5044 MB / 459.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004949/0.3684, allocations: 279.6 kB / 459.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3686, allocations: 353.9 kB / 459.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.37, allocations: 0.9568 MB / 460.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.3715, allocations: 1.09 MB / 461.9 MB, free: 7.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/0.3746, allocations: 2.158 MB / 464.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3746, allocations: 0 / 464.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.01017/0.3848, allocations: 4.127 MB / 468.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.3848, allocations: 4 kB / 468.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.3849, allocations: 0 / 468.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/0.3964, allocations: 4.212 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009466/0.3973, allocations: 227.6 kB / 472.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02387/0.4212, allocations: 13.17 MB / 485.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.423, allocations: 138.5 kB / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.4232, allocations: 51.98 kB / 486 MB, free: 15.55 MB / 366.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,36)} Notification: Performance of prepare postOptimizeDAE: time 0.000762/0.4239, allocations: 301.6 kB / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.4243, allocations: 110.7 kB / 486.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.4345, allocations: 4.078 MB / 490.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.4346, allocations: 20 kB / 490.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4346, allocations: 0 / 490.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.4346, allocations: 11.97 kB / 490.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.4468, allocations: 5.999 MB / 496.5 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.4469, allocations: 0 / 496.5 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.4475, allocations: 179.7 kB / 496.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/0.4581, allocations: 2.903 MB / 499.6 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/0.4584, allocations: 31.98 kB / 499.6 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02343/0.4818, allocations: 12.94 MB / 0.5005 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4819, allocations: 7.875 kB / 0.5005 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.4927, allocations: 3.948 MB / 0.5044 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005042/0.4932, allocations: 211.2 kB / 0.5046 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/0.4935, allocations: 28 kB / 0.5046 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.4946, allocations: 91.86 kB / 0.5047 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005525/0.4952, allocations: 126.4 kB / 0.5048 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.4953, allocations: 51.98 kB / 0.5049 GB, free: 252 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2408/0.7361, allocations: 457.3 kB / 0.5053 GB, free: 91.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.042e-06/0.7362, allocations: 0 / 0.5053 GB, free: 91.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002539/0.7387, allocations: 0.5479 MB / 0.5059 GB, free: 91.85 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 (105): * Single equations (assignments): 104 * 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,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003271/0.7391, allocations: 169.2 kB / 0.506 GB, free: 91.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008734/0.7478, allocations: 3.484 MB / 0.5094 GB, free: 91.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.7478, allocations: 2.562 kB / 0.5094 GB, free: 91.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005721/0.7536, allocations: 2.263 MB / 0.5116 GB, free: 91.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.7549, allocations: 147.9 kB / 0.5118 GB, free: 91.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/0.7596, allocations: 2.427 MB / 0.5141 GB, free: 89.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.7608, allocations: 1.1 MB / 0.5152 GB, free: 89.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007185/0.7615, allocations: 146.8 kB / 0.5154 GB, free: 89.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.7617, allocations: 88.25 kB / 0.5154 GB, free: 89.08 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.7617, allocations: 0 / 0.5154 GB, free: 89.08 MB / 382.1 MB Notification: Performance of Templates: time 0.04622/0.808, allocations: 40.53 MB / 0.555 GB, free: 53.28 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)