Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.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.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 101.2 kB / 15.73 MB, free: 436 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.001426/0.001426, allocations: 180.9 kB / 16.62 MB, free: 6.422 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.483/1.483, allocations: 223.2 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2047/0.2047, allocations: 8.088 MB / 299.7 MB, free: 2.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004022, allocations: 12 kB / 362.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1411, allocations: 52.5 MB / 415.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.005793/0.147, allocations: 5.25 MB / 420.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004826/0.1518, allocations: 2.452 MB / 423 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007155/0.1526, allocations: 20 kB / 423 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.1533, allocations: 214.5 kB / 423.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.1551, allocations: 0.7086 MB / 423.9 MB, free: 100 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2594/0.4145, allocations: 1.248 MB / 425.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002417/0.4169, allocations: 1.091 MB / 426.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.4175, allocations: 436.2 kB / 426.7 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005052/0.418, allocations: 0.5347 MB / 427.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008395/0.4189, allocations: 0.6769 MB / 427.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.419, allocations: 75.38 kB / 428 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007072/0.4198, allocations: 296 kB / 428.2 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.42, allocations: 256.9 kB / 428.5 MB, free: 34.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.4202, allocations: 283.3 kB / 428.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.4215, allocations: 1.554 MB / 430.3 MB, free: 34.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4215, allocations: 0 / 430.3 MB, free: 34.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4216, allocations: 3 kB / 430.3 MB, free: 34.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.4216, allocations: 0 / 430.3 MB, free: 34.6 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.01441/0.436, allocations: 3.473 MB / 433.8 MB, free: 33.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.4361, allocations: 10.06 kB / 433.8 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009852/0.4371, allocations: 167.7 kB / 434 MB, free: 33.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.4386, allocations: 0.8186 MB / 434.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.4388, allocations: 312.4 kB / 435.1 MB, free: 33.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.439, allocations: 117 kB / 435.2 MB, free: 33.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/0.442, allocations: 1.804 MB / 437 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.4421, allocations: 1.312 kB / 437 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/0.4422, allocations: 52.12 kB / 437.1 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.4423, allocations: 34.56 kB / 437.1 MB, free: 33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00264/0.4449, allocations: 1.72 MB / 438.8 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009126/0.4541, allocations: 7.091 MB / 445.9 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.4572, allocations: 3.864 MB / 449.8 MB, free: 26.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.4574, allocations: 32.47 kB / 449.8 MB, free: 26.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002067/0.4594, allocations: 1.317 MB / 451.1 MB, free: 25.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=167): time 4.078e-06/0.4594, allocations: 0 / 451.1 MB, free: 25.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=167): time 0.03093/0.4904, allocations: 8.852 MB / 460 MB, free: 23.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/0.4905, allocations: 124.2 kB / 460.1 MB, free: 23.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.4917, allocations: 0.7462 MB / 460.9 MB, free: 22.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002643/0.492, allocations: 74.52 kB / 460.9 MB, free: 22.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.4923, allocations: 420.3 kB / 461.3 MB, free: 22.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004733/0.4928, allocations: 0.5335 MB / 461.9 MB, free: 22.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.4929, allocations: 41.47 kB / 461.9 MB, free: 22.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4931, allocations: 420.2 kB / 462.3 MB, free: 21.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.4948, allocations: 1.118 MB / 463.4 MB, free: 21.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.4967, allocations: 1.267 MB / 464.7 MB, free: 20.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/0.4985, allocations: 1.186 MB / 465.9 MB, free: 19.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.4985, allocations: 1.031 kB / 465.9 MB, free: 19.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.00733/0.5058, allocations: 3.789 MB / 469.7 MB, free: 18.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.5059, allocations: 12.33 kB / 469.7 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.5059, allocations: 1.25 kB / 469.7 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01584/0.5218, allocations: 5.138 MB / 474.8 MB, free: 17.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.5231, allocations: 257.6 kB / 475.1 MB, free: 17.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007121/0.5303, allocations: 3.414 MB / 478.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.5324, allocations: 194.2 kB / 478.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.5326, allocations: 70.8 kB / 478.8 MB, free: 15.39 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.feeder2.load1.degradedMode,feeder2.load1.degradedMode,$PRE.feeder2.load2.degradedMode,feeder2.load2.degradedMode,$PRE.feeder2.load3.degradedMode,feeder2.load3.degradedMode,$PRE.feeder2.load4.degradedMode,feeder2.load4.degradedMode,$PRE.feeder1.load1.degradedMode,feeder1.load1.degradedMode,$PRE.feeder1.load2.degradedMode,feeder1.load2.degradedMode,$PRE.feeder1.load3.degradedMode,feeder1.load3.degradedMode,$PRE.feeder1.load4.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {40 44} Notification: Performance of prepare postOptimizeDAE: time 0.0008259/0.5334, allocations: 345 kB / 479.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.5337, allocations: 122.6 kB / 479.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/0.5389, allocations: 3.354 MB / 482.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.5389, allocations: 16.16 kB / 482.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.539, allocations: 3.312 kB / 482.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/0.539, allocations: 12.53 kB / 482.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007328/0.5463, allocations: 5.735 MB / 488.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.5464, allocations: 0.9375 kB / 488.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.5468, allocations: 151.9 kB / 488.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01219/0.559, allocations: 3.844 MB / 492.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004422/0.5595, allocations: 35.98 kB / 492.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005778/0.5653, allocations: 3.467 MB / 495.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5653, allocations: 0 / 495.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004747/0.5701, allocations: 3.206 MB / 499 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/0.5706, allocations: 223.2 kB / 499.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/0.5708, allocations: 38.3 kB / 499.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.5722, allocations: 146.1 kB / 499.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002984/0.5725, allocations: 117.8 kB / 499.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.5727, allocations: 63.94 kB / 499.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007797/0.5735, allocations: 499 kB / 0.4884 GB, free: 13.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5735, allocations: 0 / 0.4884 GB, free: 13.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001389/0.5749, allocations: 459.5 kB / 0.4888 GB, free: 13.39 MB / 366.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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,feeder2.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load4.degradedMode,feeder1.load1.degradedMode,feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 8 (feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load1.degradedMode,feeder2.load4.degradedMode,feeder1.load4.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {40 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003914/0.5753, allocations: 188.9 kB / 0.489 GB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007867/0.5832, allocations: 3.139 MB / 0.4921 GB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.5832, allocations: 5.688 kB / 0.4921 GB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005423/0.5886, allocations: 1.779 MB / 0.4938 GB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5897, allocations: 125.2 kB / 0.4939 GB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005696/0.5954, allocations: 3.077 MB / 0.4969 GB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008004/0.5962, allocations: 1.112 MB / 0.498 GB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007705/0.597, allocations: 165 kB / 0.4982 GB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.5972, allocations: 95.39 kB / 0.4983 GB, free: 3.664 MB / 366.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5972, allocations: 4 kB / 0.4983 GB, free: 3.66 MB / 366.1 MB Notification: Performance of Templates: time 0.04271/0.64, allocations: 27.3 MB / 0.5249 GB, free: 8.473 MB / 398.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe 2>&1) Environment - environmentSimulation: