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.0007839/0.0007839, allocations: 96.94 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.0008395/0.0008396, allocations: 185 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.507/1.507, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2277/0.2277, allocations: 8.089 MB / 300.2 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003558, allocations: 8 kB / 363.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 52.53 MB / 416 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.006561/0.1338, allocations: 5.594 MB / 421.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005223/0.139, allocations: 2.416 MB / 424 MB, free: 324 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.1406, allocations: 16 kB / 424 MB, free: 308 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1417, allocations: 278.7 kB / 424.3 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2543/0.3961, allocations: 0.5743 MB / 424.9 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.3994, allocations: 1.403 MB / 426.3 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.4014, allocations: 1.365 MB / 427.7 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005681/0.402, allocations: 445 kB / 428.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006215/0.4026, allocations: 0.4931 MB / 428.6 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007641/0.4034, allocations: 0.6577 MB / 429.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.4035, allocations: 65.25 kB / 429.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.4042, allocations: 298.6 kB / 429.6 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.4044, allocations: 224.7 kB / 429.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000483/0.4049, allocations: 0.6252 MB / 430.4 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.4062, allocations: 1.697 MB / 432.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4062, allocations: 4.625 kB / 432.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4063, allocations: 0 / 432.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.4063, allocations: 0 / 432.1 MB, free: 34.41 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.0116/0.4179, allocations: 3.025 MB / 435.2 MB, free: 33.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4179, allocations: 13.33 kB / 435.2 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005325/0.4185, allocations: 139.2 kB / 435.3 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.4197, allocations: 0.772 MB / 436.1 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.369e-05/0.4198, allocations: 73.56 kB / 436.2 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.42, allocations: 99.91 kB / 436.3 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.4224, allocations: 1.517 MB / 437.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.4225, allocations: 192 / 437.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.4226, allocations: 43.59 kB / 437.8 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.4226, allocations: 22.44 kB / 437.8 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.4246, allocations: 1.471 MB / 439.3 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00692/0.4316, allocations: 6.061 MB / 445.4 MB, free: 28.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.4342, allocations: 3.752 MB / 449.1 MB, free: 25.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.4355, allocations: 1.101 MB / 450.2 MB, free: 24.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.4356, allocations: 39.8 kB / 450.3 MB, free: 24.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.4357, allocations: 61.3 kB / 450.3 MB, free: 24.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=151): time 3.046e-06/0.4357, allocations: 0 / 450.3 MB, free: 24.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=151): time 0.03233/0.468, allocations: 8.263 MB / 458.6 MB, free: 22.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.4682, allocations: 122.8 kB / 458.7 MB, free: 22.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.4693, allocations: 0.6692 MB / 459.4 MB, free: 22.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000413/0.4698, allocations: 58.8 kB / 459.4 MB, free: 22.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.47, allocations: 351.4 kB / 459.8 MB, free: 21.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.4705, allocations: 0.4921 MB / 460.3 MB, free: 21.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.4707, allocations: 143.2 kB / 460.4 MB, free: 21.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.418e-05/0.4707, allocations: 352 kB / 460.7 MB, free: 21.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.4721, allocations: 0.9657 MB / 461.7 MB, free: 20.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.4736, allocations: 1.085 MB / 462.8 MB, free: 20.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.4768, allocations: 2.159 MB / 465 MB, free: 18.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4768, allocations: 0 / 465 MB, free: 18.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.0112/0.488, allocations: 4.124 MB / 469.1 MB, free: 17.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.4881, allocations: 7.078 kB / 469.1 MB, free: 17.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.4881, allocations: 0 / 469.1 MB, free: 17.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01297/0.501, allocations: 4.213 MB / 473.3 MB, free: 16.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.5022, allocations: 230.8 kB / 473.5 MB, free: 16.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.024/0.5262, allocations: 11.96 MB / 485.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.5279, allocations: 143.9 kB / 485.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.5281, allocations: 50.97 kB / 485.7 MB, free: 9.57 MB / 350.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.0006531/0.5287, allocations: 307.4 kB / 486 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.529, allocations: 109.5 kB / 486.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.5397, allocations: 4.08 MB / 490.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.5397, allocations: 20.61 kB / 490.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5397, allocations: 0 / 490.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.631e-05/0.5398, allocations: 8.438 kB / 490.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.5514, allocations: 6.012 MB / 496.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.5514, allocations: 0 / 496.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/0.552, allocations: 175.7 kB / 496.4 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01093/0.563, allocations: 2.911 MB / 499.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003389/0.5633, allocations: 32 kB / 499.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02215/0.5855, allocations: 11.74 MB / 0.4991 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5855, allocations: 0 / 0.4991 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/0.5964, allocations: 3.956 MB / 0.5029 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005113/0.597, allocations: 215.2 kB / 0.5032 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.5972, allocations: 28 kB / 0.5032 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.5983, allocations: 112.3 kB / 0.5033 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005179/0.5988, allocations: 126.3 kB / 0.5034 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.5989, allocations: 59.92 kB / 0.5035 GB, free: 12.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007123/0.5996, allocations: 455 kB / 0.5039 GB, free: 12.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5997, allocations: 7.938 kB / 0.5039 GB, free: 12.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002466/0.6021, allocations: 0.5542 MB / 0.5044 GB, free: 11.92 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.0004242/0.6026, allocations: 161.9 kB / 0.5046 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008781/0.6114, allocations: 3.358 MB / 0.5079 GB, free: 8.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/0.6114, allocations: 4.656 kB / 0.5079 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006338/0.6178, allocations: 2.19 MB / 0.51 GB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.6191, allocations: 147.2 kB / 0.5102 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.6235, allocations: 2.875 MB / 0.513 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008503/0.6243, allocations: 1.092 MB / 0.514 GB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005916/0.6249, allocations: 147.7 kB / 0.5142 GB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.6252, allocations: 87.41 kB / 0.5143 GB, free: 1.809 MB / 382.1 MB Notification: Performance of SimCode: time 1.333e-06/0.6252, allocations: 0 / 0.5143 GB, free: 1.809 MB / 382.1 MB Notification: Performance of Templates: time 0.05915/0.6844, allocations: 37.35 MB / 0.5507 GB, free: 12.56 MB / 430.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: