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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 182.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 221.4 MB / 235.1 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009229/0.0009227, allocations: 95.41 kB / 286.1 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06897/0.06897, allocations: 8.104 MB / 345.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.646e-05, allocations: 7.984 kB / 405.6 MB, free: 61.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08156/0.08161, allocations: 52.51 MB / 458.1 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.4512, allocations: 83.37 MB / 0.5288 GB, free: 2.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4515, allocations: 58.48 kB / 0.5288 GB, free: 2.727 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2123/0.6638, allocations: 83.69 MB / 0.6105 GB, free: 4.844 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6639, allocations: 0 / 0.6105 GB, free: 4.844 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001388/0.6641, allocations: 55.94 kB / 0.6106 GB, free: 4.789 MB / 426.7 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.02031/0.6844, allocations: 4.745 MB / 0.6152 GB, free: 15.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.436e-05/0.6845, allocations: 8.031 kB / 0.6152 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001412/0.6859, allocations: 333.2 kB / 0.6156 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.6875, allocations: 368 kB / 0.6159 GB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00363/0.6911, allocations: 1.594 MB / 0.6175 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006071/0.6918, allocations: 0.7175 MB / 0.6182 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004697/0.6922, allocations: 228 kB / 0.6184 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007732/0.7, allocations: 3.725 MB / 0.622 GB, free: 8.773 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.342e-05/0.7001, allocations: 0 / 0.622 GB, free: 8.773 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004399/0.7005, allocations: 116 kB / 0.6221 GB, free: 8.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.48e-05/0.7006, allocations: 56 kB / 0.6222 GB, free: 8.605 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006892/0.7075, allocations: 3.537 MB / 0.6256 GB, free: 5.055 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.02672/0.7343, allocations: 15.11 MB / 0.6404 GB, free: 4.891 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3092/1.044, allocations: 7.487 MB / 0.6477 GB, free: 92 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00595/1.05, allocations: 2.758 MB / 0.6504 GB, free: 91.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000776/1.05, allocations: 174.4 kB / 0.6506 GB, free: 91.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007358/1.058, allocations: 2.937 MB / 0.6534 GB, free: 91.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=453): time 1.069e-05/1.058, allocations: 0 / 0.6534 GB, free: 91.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=453): time 0.01799/1.076, allocations: 7.08 MB / 0.6603 GB, free: 91.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/1.076, allocations: 182 kB / 0.6605 GB, free: 91.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/1.079, allocations: 1.304 MB / 0.6618 GB, free: 91.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001068/1.08, allocations: 122.1 kB / 0.6619 GB, free: 91.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008605/1.081, allocations: 0.9057 MB / 0.6628 GB, free: 90.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001941/1.083, allocations: 1.451 MB / 0.6642 GB, free: 90.22 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/1.083, allocations: 75.53 kB / 0.6643 GB, free: 90.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002478/1.083, allocations: 447.7 kB / 0.6647 GB, free: 89.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003805/1.087, allocations: 2.056 MB / 0.6667 GB, free: 89.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/1.09, allocations: 2.302 MB / 0.669 GB, free: 89.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00345/1.094, allocations: 2.166 MB / 0.6711 GB, free: 89.78 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/1.094, allocations: 2.625 kB / 0.6711 GB, free: 89.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01409/1.108, allocations: 7.336 MB / 0.6782 GB, free: 89.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/1.108, allocations: 8.062 kB / 0.6783 GB, free: 89.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.108, allocations: 0.6094 kB / 0.6783 GB, free: 89.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03676/1.145, allocations: 20.72 MB / 0.6985 GB, free: 89.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/1.147, allocations: 389.8 kB / 0.6989 GB, free: 89.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/1.162, allocations: 6.802 MB / 0.7055 GB, free: 86.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/1.166, allocations: 335 kB / 0.7058 GB, free: 86.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004662/1.166, allocations: 125.3 kB / 0.7059 GB, free: 86.64 MB / 458.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 260 * 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.0008795/1.167, allocations: 323.3 kB / 0.7063 GB, free: 86.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009892/1.168, allocations: 312.3 kB / 0.7065 GB, free: 86.22 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.181, allocations: 7.748 MB / 0.7141 GB, free: 79.19 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/1.181, allocations: 50.97 kB / 0.7142 GB, free: 79.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.181, allocations: 0 / 0.7142 GB, free: 79.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.812e-05/1.181, allocations: 25.64 kB / 0.7142 GB, free: 79.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02158/1.202, allocations: 13.39 MB / 0.7273 GB, free: 68.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/1.202, allocations: 0 / 0.7273 GB, free: 68.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/1.204, allocations: 419.7 kB / 0.7277 GB, free: 67.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02785/1.232, allocations: 9.621 MB / 0.7371 GB, free: 59.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001354/1.233, allocations: 95.62 kB / 0.7372 GB, free: 59.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/1.246, allocations: 6.92 MB / 0.7439 GB, free: 53.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.246, allocations: 6.688 kB / 0.7439 GB, free: 53.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/1.26, allocations: 7.863 MB / 0.7516 GB, free: 45.99 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002944/1.263, allocations: 0.9937 MB / 0.7526 GB, free: 45.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007827/1.264, allocations: 84 kB / 0.7526 GB, free: 45.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003787/1.268, allocations: 321.2 kB / 0.753 GB, free: 44.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007755/1.269, allocations: 311.6 kB / 0.7532 GB, free: 44.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004045/1.269, allocations: 154 kB / 0.7534 GB, free: 44.56 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001722/1.271, allocations: 1.005 MB / 0.7544 GB, free: 43.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.71e-07/1.271, allocations: 0 / 0.7544 GB, free: 43.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002968/1.274, allocations: 0.9971 MB / 0.7554 GB, free: 42.66 MB / 458.7 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,b11480.degradedMode,b61121.degradedMode,b87694.degradedMode,b61232.degradedMode,b61275.degradedMode,b61274.degradedMode,b61273.degradedMode,b11407.degradedMode,b11403.degradedMode,b61254.degradedMode,b61260.degradedMode,b61227.degradedMode,b11465.degradedMode,b11458.degradedMode,b61280.degradedMode,b61256.degradedMode,b61106.degradedMode,b87656.degradedMode,b56131.degradedMode) * 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 {79 157} Notification: Performance of Backend phase and start with SimCode phase: time 0.01426/1.288, allocations: 8.608 MB / 0.7638 GB, free: 34.74 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01509/1.303, allocations: 6.215 MB / 0.7698 GB, free: 28.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/1.303, allocations: 10.78 kB / 0.7698 GB, free: 28.83 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01174/1.315, allocations: 3.938 MB / 0.7737 GB, free: 25.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/1.318, allocations: 304.6 kB / 0.774 GB, free: 24.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/1.33, allocations: 5.183 MB / 0.779 GB, free: 20.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008931/1.331, allocations: 1.774 MB / 0.7808 GB, free: 18.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001302/1.332, allocations: 344 kB / 0.7811 GB, free: 18.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.333, allocations: 1.153 MB / 0.7822 GB, free: 17.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.312e-06/1.333, allocations: 0 / 0.7822 GB, free: 17.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4345/1.768, allocations: 86.86 MB / 0.867 GB, free: 102.5 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.768, allocations: 162.6 kB / 0.8672 GB, free: 102.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.17/6.938, allocations: 3.938 kB / 0.8672 GB, free: 102.2 MB / 474.7 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)