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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001183/0.001183, allocations: 101.9 kB / 16.31 MB, free: 5.879 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.001179/0.00118, allocations: 191.2 kB / 17.24 MB, free: 5.539 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.285/1.285, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04316/0.04316, allocations: 8.109 MB / 299.2 MB, free: 6.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 361.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1856, allocations: 51.51 MB / 413.3 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.LargerNetwork): time 0.009629/0.1953, allocations: 14.71 MB / 428 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006948/0.2023, allocations: 3.953 MB / 432 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.2044, allocations: 44 kB / 432 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.2059, allocations: 0.6941 MB / 432.7 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.2103, allocations: 1.637 MB / 434.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.214, allocations: 2.075 MB / 436.4 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003856/0.2178, allocations: 3.595 MB / 440 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.2194, allocations: 1.185 MB / 441.2 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.2212, allocations: 1.502 MB / 442.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.2234, allocations: 1.898 MB / 444.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005154/0.224, allocations: 296 kB / 444.9 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.2251, allocations: 0.5506 MB / 445.5 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005508/0.2256, allocations: 0.7548 MB / 446.2 MB, free: 8.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.2271, allocations: 1.679 MB / 447.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003666/0.2308, allocations: 3.605 MB / 451.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2308, allocations: 0 / 451.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2308, allocations: 4 kB / 451.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.405e-05/0.2309, allocations: 0 / 451.5 MB, free: 3.23 MB / 318.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.03592/0.2668, allocations: 8.181 MB / 459.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/0.2669, allocations: 15.83 kB / 459.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006627/0.2676, allocations: 353.4 kB / 460.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.2689, allocations: 380.8 kB / 460.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003529/0.2724, allocations: 1.547 MB / 462 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004693/0.2729, allocations: 0.7579 MB / 462.7 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004277/0.2733, allocations: 268.4 kB / 463 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006526/0.2799, allocations: 3.78 MB / 466.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.2799, allocations: 0 / 466.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000337/0.2803, allocations: 116 kB / 466.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.2803, allocations: 60 kB / 466.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005534/0.2859, allocations: 3.587 MB / 470.5 MB, free: 15.86 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.01866/0.3045, allocations: 14.09 MB / 484.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006638/0.3112, allocations: 7.588 MB / 492.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003435/0.3147, allocations: 2.828 MB / 495 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003009/0.315, allocations: 95.28 kB / 495.1 MB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004079/0.3191, allocations: 3.016 MB / 498.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=453): time 5.501e-06/0.3191, allocations: 0 / 498.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=453): time 0.01307/0.3321, allocations: 9.037 MB / 0.4953 GB, free: 9.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.3323, allocations: 184.1 kB / 0.4955 GB, free: 9.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.3341, allocations: 1.473 MB / 0.4969 GB, free: 8.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003636/0.3345, allocations: 137.7 kB / 0.497 GB, free: 7.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/0.335, allocations: 0.8382 MB / 0.4979 GB, free: 7.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.3361, allocations: 1.451 MB / 0.4993 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001149/0.3372, allocations: 0.7502 MB / 0.5 GB, free: 4.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.536e-05/0.3373, allocations: 305.1 kB / 0.5003 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003733/0.3411, allocations: 2.442 MB / 0.5027 GB, free: 2.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1703/0.5114, allocations: 2.756 MB / 0.5054 GB, free: 88.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008689/0.5201, allocations: 5.311 MB / 0.5106 GB, free: 86.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.449e-05/0.5202, allocations: 0.7969 kB / 0.5106 GB, free: 86.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=590) (initialization): time 0.013/0.5332, allocations: 7.905 MB / 0.5183 GB, free: 83.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.5332, allocations: 5.688 kB / 0.5183 GB, free: 83.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.5333, allocations: 0 / 0.5183 GB, free: 83.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03658/0.5698, allocations: 21.54 MB / 0.5393 GB, free: 66.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/0.5721, allocations: 0.5406 MB / 0.5399 GB, free: 66.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.5845, allocations: 6.861 MB / 0.5466 GB, free: 59.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/0.588, allocations: 411.7 kB / 0.547 GB, free: 59.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004677/0.5885, allocations: 152 kB / 0.5471 GB, free: 59.13 MB / 382.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 (b61106.degradedMode,$PRE.b61106.degradedMode,b87656.degradedMode,$PRE.b87656.degradedMode,b56131.degradedMode,$PRE.b56131.degradedMode,b61275.degradedMode,$PRE.b61275.degradedMode,b61273.degradedMode,$PRE.b61273.degradedMode,b61274.degradedMode,$PRE.b61274.degradedMode,b61089.degradedMode,$PRE.b61089.degradedMode,b61227.degradedMode,$PRE.b61227.degradedMode,b11403.degradedMode,$PRE.b11403.degradedMode,b11407.degradedMode,$PRE.b11407.degradedMode,b61254.degradedMode,$PRE.b61254.degradedMode,b61260.degradedMode,$PRE.b61260.degradedMode,b11465.degradedMode,$PRE.b11465.degradedMode,b87694.degradedMode,$PRE.b87694.degradedMode,b61121.degradedMode,$PRE.b61121.degradedMode,b61232.degradedMode,$PRE.b61232.degradedMode,b11480.degradedMode,$PRE.b11480.degradedMode,b61256.degradedMode,$PRE.b61256.degradedMode,b11458.degradedMode,$PRE.b11458.degradedMode,b61280.degradedMode,$PRE.b61280.degradedMode,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20) * 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 (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 {(79,137)} Notification: Performance of prepare postOptimizeDAE: time 0.001193/0.5897, allocations: 0.5376 MB / 0.5476 GB, free: 58.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006545/0.5903, allocations: 301.2 kB / 0.5479 GB, free: 58.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.6007, allocations: 7.793 MB / 0.5555 GB, free: 50.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.6008, allocations: 44 kB / 0.5556 GB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.6008, allocations: 4 kB / 0.5556 GB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.459e-05/0.6008, allocations: 23.91 kB / 0.5556 GB, free: 50.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.6166, allocations: 12.55 MB / 0.5678 GB, free: 37.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.6167, allocations: 0 / 0.5678 GB, free: 37.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.6178, allocations: 411.4 kB / 0.5682 GB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03043/0.6482, allocations: 10.16 MB / 0.5782 GB, free: 27.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000718/0.649, allocations: 95.97 kB / 0.5782 GB, free: 27.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/0.6607, allocations: 7.034 MB / 0.5851 GB, free: 20.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6608, allocations: 0 / 0.5851 GB, free: 20.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/0.6725, allocations: 7.654 MB / 0.5926 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/0.6743, allocations: 0.9567 MB / 0.5935 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005353/0.6749, allocations: 84 kB / 0.5936 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/0.6777, allocations: 266.3 kB / 0.5939 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005779/0.6782, allocations: 307.5 kB / 0.5942 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002705/0.6785, allocations: 159.9 kB / 0.5943 GB, free: 10.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001198/0.6797, allocations: 0.923 MB / 0.5952 GB, free: 9.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6797, allocations: 4 kB / 0.5952 GB, free: 9.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002041/0.6818, allocations: 1.065 MB / 0.5963 GB, free: 8.824 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: 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 (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 {(80,156)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01177/0.6936, allocations: 8.39 MB / 0.6044 GB, free: 416 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.02463/0.7182, allocations: 7.187 MB / 0.6115 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.7183, allocations: 11 kB / 0.6115 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01137/0.7297, allocations: 4.17 MB / 0.6155 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.7316, allocations: 393.8 kB / 0.6159 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04768/0.7793, allocations: 36.52 MB / 0.6516 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009735/0.7803, allocations: 1.716 MB / 0.6533 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001025/0.7813, allocations: 337.5 kB / 0.6536 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.7825, allocations: 1.148 MB / 0.6547 GB, free: 11.08 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.7825, allocations: 0 / 0.6547 GB, free: 11.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7623/1.545, allocations: 93.85 MB / 0.7464 GB, free: 109.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/16.45, allocations: 10.42 kB / 0.7464 GB, free: 109.4 MB / 462.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/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)