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.001191/0.001191, allocations: 95.89 kB / 15.73 MB, free: 440 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.001397/0.001398, allocations: 178.6 kB / 16.61 MB, free: 6.891 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.22/1.22, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.153/0.153, allocations: 8.088 MB / 299.7 MB, free: 2.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 8 kB / 362.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08699/0.08728, allocations: 52.52 MB / 415.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.1566/0.2439, allocations: 11.73 MB / 427.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005744/0.2497, allocations: 3.956 MB / 431 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008271/0.2505, allocations: 44.22 kB / 431.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006491/0.2512, allocations: 412.3 kB / 431.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.2536, allocations: 1.573 MB / 433.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.2564, allocations: 1.757 MB / 434.8 MB, free: 34.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.2587, allocations: 2.481 MB / 437.3 MB, free: 34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008754/0.2596, allocations: 0.9139 MB / 438.2 MB, free: 33.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008354/0.2605, allocations: 1.26 MB / 439.5 MB, free: 33.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.2617, allocations: 1.602 MB / 441.1 MB, free: 32.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.2619, allocations: 158.3 kB / 441.2 MB, free: 32.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006904/0.2626, allocations: 382.8 kB / 441.6 MB, free: 32.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.2629, allocations: 0.5751 MB / 442.2 MB, free: 32.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.2633, allocations: 0.554 MB / 442.7 MB, free: 31.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.2648, allocations: 2.57 MB / 445.3 MB, free: 30.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.2649, allocations: 0 / 445.3 MB, free: 30.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2649, allocations: 0 / 445.3 MB, free: 30.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.2649, allocations: 4 kB / 445.3 MB, free: 30.97 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.02868/0.2936, allocations: 7.791 MB / 453.1 MB, free: 28.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2936, allocations: 9.5 kB / 453.1 MB, free: 28.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004377/0.2941, allocations: 353.8 kB / 453.5 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000517/0.2946, allocations: 376.9 kB / 453.8 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.2964, allocations: 1.505 MB / 455.3 MB, free: 27.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.2967, allocations: 0.7468 MB / 456.1 MB, free: 26.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003632/0.297, allocations: 265.5 kB / 456.3 MB, free: 26.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004434/0.3015, allocations: 3.791 MB / 460.1 MB, free: 24.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.3015, allocations: 0 / 460.1 MB, free: 24.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/0.3018, allocations: 114.9 kB / 460.2 MB, free: 24.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.3018, allocations: 59.95 kB / 460.3 MB, free: 24.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004525/0.3064, allocations: 3.604 MB / 463.9 MB, free: 23.13 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.01636/0.3227, allocations: 14.33 MB / 478.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006262/0.329, allocations: 7.576 MB / 485.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/0.3293, allocations: 95.36 kB / 485.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003922/0.3333, allocations: 3.026 MB / 488.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=453): time 5.32e-06/0.3333, allocations: 0 / 488.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=453): time 0.01179/0.3451, allocations: 9.061 MB / 498 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.3451, allocations: 176.1 kB / 498.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.3469, allocations: 1.473 MB / 499.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003525/0.3473, allocations: 133.7 kB / 499.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005922/0.3479, allocations: 0.842 MB / 0.4889 GB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00114/0.349, allocations: 1.444 MB / 0.4903 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/0.3493, allocations: 96 kB / 0.4904 GB, free: 12.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.3496, allocations: 480 kB / 0.4908 GB, free: 12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003543/0.3531, allocations: 2.442 MB / 0.4932 GB, free: 9.551 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003807/0.3569, allocations: 2.749 MB / 0.4959 GB, free: 6.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/0.3607, allocations: 2.577 MB / 0.4984 GB, free: 4.152 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.3607, allocations: 0 / 0.4984 GB, free: 4.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01276/0.3735, allocations: 7.97 MB / 0.5062 GB, free: 12.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3736, allocations: 10.03 kB / 0.5062 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.3736, allocations: 0 / 0.5062 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04056/0.4141, allocations: 21.13 MB / 0.5268 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/0.4166, allocations: 0.5616 MB / 0.5274 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/0.43, allocations: 6.876 MB / 0.5341 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003546/0.4335, allocations: 447.7 kB / 0.5345 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003825/0.4339, allocations: 159.9 kB / 0.5347 GB, free: 14.87 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.001205/0.4351, allocations: 0.5376 MB / 0.5352 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005051/0.4356, allocations: 305.3 kB / 0.5355 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.4478, allocations: 7.833 MB / 0.5432 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.293e-05/0.4479, allocations: 48 kB / 0.5432 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4479, allocations: 3.953 kB / 0.5432 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.735e-05/0.4479, allocations: 27.91 kB / 0.5432 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/0.4661, allocations: 12.61 MB / 0.5555 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.4661, allocations: 4 kB / 0.5555 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.4676, allocations: 427.4 kB / 0.556 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0308/0.4984, allocations: 9.851 MB / 0.5656 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006658/0.4991, allocations: 107.9 kB / 0.5657 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.5115, allocations: 7.019 MB / 0.5725 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5115, allocations: 0 / 0.5725 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/0.5242, allocations: 7.666 MB / 0.58 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1511/0.6753, allocations: 0.9759 MB / 0.581 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006085/0.6759, allocations: 89.17 kB / 0.5811 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/0.6789, allocations: 333.8 kB / 0.5814 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005489/0.6795, allocations: 323.7 kB / 0.5817 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002978/0.6798, allocations: 155.2 kB / 0.5818 GB, free: 131.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.681, allocations: 0.9132 MB / 0.5827 GB, free: 131.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.681, allocations: 0 / 0.5827 GB, free: 131.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001814/0.6828, allocations: 1.068 MB / 0.5838 GB, free: 131.7 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.01165/0.6945, allocations: 8.405 MB / 0.592 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01384/0.7084, allocations: 6.98 MB / 0.5988 GB, free: 126.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.7084, allocations: 9.219 kB / 0.5988 GB, free: 126.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009562/0.718, allocations: 4.004 MB / 0.6027 GB, free: 125.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.7194, allocations: 282.7 kB / 0.603 GB, free: 125.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.7312, allocations: 9.039 MB / 0.6118 GB, free: 119.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009836/0.7322, allocations: 1.782 MB / 0.6135 GB, free: 118.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001207/0.7334, allocations: 354.4 kB / 0.6139 GB, free: 118.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.7345, allocations: 1.158 MB / 0.615 GB, free: 117.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.021e-06/0.7345, allocations: 0 / 0.615 GB, free: 117.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09363/0.8281, allocations: 86.36 MB / 0.6994 GB, free: 45.69 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001119/0.8282, allocations: 187.4 kB / 0.6995 GB, free: 45.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/4.427, allocations: 0 / 0.6995 GB, free: 45.46 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: