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: "" <> buildModelFMU(PowerSysPro.Examples.LargerNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_LargerNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.LargerNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_LargerNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007713/0.0007713, allocations: 84.19 kB / 15.75 MB, free: 416 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.0008357/0.0008357, allocations: 173.2 kB / 16.62 MB, free: 6.887 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.28/1.28, allocations: 223.3 MB / 240.7 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1531/0.1531, allocations: 8.09 MB / 299.8 MB, free: 2.969 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002878, allocations: 15.98 kB / 363 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09089/0.09119, allocations: 52.51 MB / 415.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.1818/0.273, allocations: 12.75 MB / 428.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006083/0.2792, allocations: 3.778 MB / 432 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.2806, allocations: 41.25 kB / 432 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009315/0.2815, allocations: 406.5 kB / 432.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.2846, allocations: 1.399 MB / 433.8 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003162/0.2878, allocations: 1.751 MB / 435.6 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003669/0.2914, allocations: 3.274 MB / 438.9 MB, free: 32.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.293, allocations: 0.899 MB / 439.8 MB, free: 32.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/0.2947, allocations: 1.276 MB / 441 MB, free: 31.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.2971, allocations: 1.648 MB / 442.7 MB, free: 31.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000823/0.2979, allocations: 160.3 kB / 442.8 MB, free: 31.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.2995, allocations: 423 kB / 443.2 MB, free: 31.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003864/0.2999, allocations: 0.5746 MB / 443.8 MB, free: 30.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006647/0.3006, allocations: 0.5556 MB / 444.4 MB, free: 30.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002085/0.3027, allocations: 2.597 MB / 447 MB, free: 30.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3027, allocations: 0 / 447 MB, free: 30.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3027, allocations: 0 / 447 MB, free: 30.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.036e-05/0.3027, allocations: 3.188 kB / 447 MB, free: 30.01 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.02764/0.3304, allocations: 7.78 MB / 454.8 MB, free: 27.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3304, allocations: 9.344 kB / 454.8 MB, free: 27.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009728/0.3314, allocations: 355.3 kB / 455.1 MB, free: 27.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009999/0.3324, allocations: 377.3 kB / 455.5 MB, free: 27.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.3345, allocations: 1.505 MB / 457 MB, free: 26.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.3348, allocations: 0.7553 MB / 457.7 MB, free: 25.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.3351, allocations: 267.5 kB / 458 MB, free: 25.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005214/0.3404, allocations: 3.807 MB / 461.8 MB, free: 23.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.682e-05/0.3404, allocations: 0 / 461.8 MB, free: 23.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/0.3407, allocations: 117.2 kB / 461.9 MB, free: 23.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.3407, allocations: 59.55 kB / 462 MB, free: 23.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005158/0.3459, allocations: 3.61 MB / 465.6 MB, free: 22.18 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.01936/0.3653, allocations: 14.27 MB / 479.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007669/0.373, allocations: 7.58 MB / 487.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004406/0.3774, allocations: 2.832 MB / 490.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005497/0.378, allocations: 103.7 kB / 490.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005409/0.3834, allocations: 3.048 MB / 493.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=453): time 6.863e-06/0.3834, allocations: 0 / 493.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=453): time 0.01547/0.3989, allocations: 9.064 MB / 0.4907 GB, free: 12.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.399, allocations: 176.1 kB / 0.4909 GB, free: 12.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/0.4015, allocations: 1.461 MB / 0.4923 GB, free: 10.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006786/0.4022, allocations: 137.7 kB / 0.4924 GB, free: 10.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000736/0.4029, allocations: 0.8342 MB / 0.4933 GB, free: 9.777 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001533/0.4045, allocations: 1.444 MB / 0.4947 GB, free: 8.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004711/0.405, allocations: 96 kB / 0.4948 GB, free: 8.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002634/0.4052, allocations: 480 kB / 0.4952 GB, free: 7.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004091/0.4093, allocations: 2.45 MB / 0.4976 GB, free: 5.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004415/0.4138, allocations: 2.765 MB / 0.5003 GB, free: 2.484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004299/0.4181, allocations: 2.573 MB / 0.5028 GB, free: 15.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/0.4181, allocations: 0 / 0.5028 GB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01383/0.4319, allocations: 7.974 MB / 0.5106 GB, free: 7.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.432, allocations: 4 kB / 0.5106 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.432, allocations: 0 / 0.5106 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03721/0.4692, allocations: 21.14 MB / 0.5313 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/0.4716, allocations: 0.5664 MB / 0.5318 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/0.4865, allocations: 6.876 MB / 0.5385 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/0.4899, allocations: 443.7 kB / 0.5389 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000599/0.4905, allocations: 155.9 kB / 0.5391 GB, free: 10.59 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 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.b61280.degradedMode,b61280.degradedMode,$PRE.b11458.degradedMode,b11458.degradedMode,$PRE.b61256.degradedMode,b61256.degradedMode,$PRE.b11480.degradedMode,b11480.degradedMode,$PRE.b61232.degradedMode,b61232.degradedMode,$PRE.b61121.degradedMode,b61121.degradedMode,$PRE.b87694.degradedMode,b87694.degradedMode,$PRE.b11465.degradedMode,b11465.degradedMode,$PRE.b61260.degradedMode,b61260.degradedMode,$PRE.b61254.degradedMode,b61254.degradedMode,$PRE.b11407.degradedMode,b11407.degradedMode,$PRE.b11403.degradedMode,b11403.degradedMode,$PRE.b61227.degradedMode,b61227.degradedMode,$PRE.b61089.degradedMode,b61089.degradedMode,$PRE.b61274.degradedMode,b61274.degradedMode,$PRE.b61273.degradedMode,b61273.degradedMode,$PRE.b61275.degradedMode,b61275.degradedMode,$PRE.b56131.degradedMode,b56131.degradedMode,$PRE.b87656.degradedMode,b87656.degradedMode,$PRE.b61106.degradedMode,b61106.degradedMode) * 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 (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 {78 138} Notification: Performance of prepare postOptimizeDAE: time 0.001595/0.4921, allocations: 0.5454 MB / 0.5396 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008908/0.493, allocations: 296.4 kB / 0.5399 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.5059, allocations: 7.84 MB / 0.5476 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/0.5059, allocations: 48 kB / 0.5476 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.506, allocations: 3.953 kB / 0.5476 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.736e-05/0.506, allocations: 23.91 kB / 0.5476 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/0.5251, allocations: 12.59 MB / 0.5599 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.5251, allocations: 4 kB / 0.5599 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.5265, allocations: 435.3 kB / 0.5604 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02897/0.5555, allocations: 9.855 MB / 0.57 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006945/0.5562, allocations: 104 kB / 0.5701 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/0.569, allocations: 7.007 MB / 0.5769 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5691, allocations: 0 / 0.5769 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1734/0.7424, allocations: 7.665 MB / 0.5844 GB, free: 130.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/0.7441, allocations: 0.9664 MB / 0.5854 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004417/0.7445, allocations: 85.66 kB / 0.5854 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/0.747, allocations: 336.5 kB / 0.5858 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005108/0.7475, allocations: 320.7 kB / 0.5861 GB, free: 130.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003168/0.7478, allocations: 157.8 kB / 0.5862 GB, free: 130.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.7489, allocations: 0.9185 MB / 0.5871 GB, free: 130 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.749, allocations: 0 / 0.5871 GB, free: 130 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001764/0.7507, allocations: 1.066 MB / 0.5882 GB, free: 130 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 (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 {74 162} Notification: Performance of Backend phase and start with SimCode phase: time 0.01122/0.762, allocations: 8.408 MB / 0.5964 GB, free: 126.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01288/0.7749, allocations: 6.992 MB / 0.6032 GB, free: 123.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.7749, allocations: 8.969 kB / 0.6032 GB, free: 123.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008969/0.7839, allocations: 4.004 MB / 0.6071 GB, free: 122.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.7858, allocations: 378 kB / 0.6075 GB, free: 122 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03501/0.8209, allocations: 24.83 MB / 0.6317 GB, free: 109 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008526/0.8218, allocations: 1.726 MB / 0.6334 GB, free: 108.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001234/0.823, allocations: 350.3 kB / 0.6337 GB, free: 108.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.8241, allocations: 1.159 MB / 0.6349 GB, free: 107.2 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.8241, allocations: 0 / 0.6349 GB, free: 107.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/0.9244, allocations: 87.31 MB / 0.7201 GB, free: 24.34 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.9245, allocations: 192.4 kB / 0.7203 GB, free: 24.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.642/4.566, allocations: 0 / 0.7203 GB, free: 24.09 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_LargerNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_LargerNetwork.fmu > PowerSysPro_PowerSysPro.Examples.LargerNetwork.pipe 2>&1) Environment - environmentSimulation: