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.001896/0.001896, allocations: 180.1 kB / 15.8 MB, free: 6.34 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.433/1.433, allocations: 223.2 MB / 239.7 MB, free: 32 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009417/0.0009416, allocations: 100.8 kB / 290.9 MB, free: 4.586 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04046/0.04046, allocations: 8.102 MB / 350.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003325, allocations: 16 kB / 413.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2349, allocations: 52.52 MB / 465.7 MB, free: 69.6 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.3421, allocations: 83.19 MB / 0.536 GB, free: 2.297 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.3424, allocations: 63.98 kB / 0.5361 GB, free: 2.234 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3908/0.7332, allocations: 83.86 MB / 0.618 GB, free: 36.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.7333, allocations: 0 / 0.618 GB, free: 36.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002498/0.7335, allocations: 55.94 kB / 0.618 GB, free: 36.6 MB / 378.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.02019/0.7537, allocations: 5.234 MB / 0.6231 GB, free: 31.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.7538, allocations: 12.03 kB / 0.6232 GB, free: 31.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001476/0.7553, allocations: 345.2 kB / 0.6235 GB, free: 30.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.7569, allocations: 380 kB / 0.6239 GB, free: 30.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/0.7607, allocations: 1.636 MB / 0.6254 GB, free: 28.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003263/0.7611, allocations: 0.7225 MB / 0.6262 GB, free: 28.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008118/0.7619, allocations: 224 kB / 0.6264 GB, free: 27.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007945/0.7699, allocations: 3.803 MB / 0.6301 GB, free: 23.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.446e-05/0.77, allocations: 3.938 kB / 0.6301 GB, free: 23.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007787/0.7708, allocations: 116 kB / 0.6302 GB, free: 23.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.7708, allocations: 60 kB / 0.6303 GB, free: 23.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006923/0.7778, allocations: 3.614 MB / 0.6338 GB, free: 20.14 MB / 378.7 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.0235/0.8013, allocations: 15.18 MB / 0.6486 GB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008126/0.8095, allocations: 7.56 MB / 0.656 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006879/0.8102, allocations: 184.4 kB / 0.6562 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006208/0.8164, allocations: 3.024 MB / 0.6591 GB, free: 8.699 MB / 394.7 MB Notification: Performance of pre-optimization done (n=453): time 6.883e-06/0.8165, allocations: 0 / 0.6591 GB, free: 8.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=453): time 0.02045/0.8369, allocations: 9.453 MB / 0.6683 GB, free: 15.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.8371, allocations: 176.1 kB / 0.6685 GB, free: 15.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.8403, allocations: 1.363 MB / 0.6698 GB, free: 13.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005231/0.8408, allocations: 121.7 kB / 0.67 GB, free: 13.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009133/0.8417, allocations: 0.9066 MB / 0.6708 GB, free: 12.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001594/0.8433, allocations: 1.448 MB / 0.6723 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.8437, allocations: 76 kB / 0.6723 GB, free: 11.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003085/0.844, allocations: 441.9 kB / 0.6728 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003752/0.8478, allocations: 2.112 MB / 0.6748 GB, free: 8.531 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004064/0.8519, allocations: 2.371 MB / 0.6771 GB, free: 6.152 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/0.856, allocations: 2.223 MB / 0.6793 GB, free: 3.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.856, allocations: 0 / 0.6793 GB, free: 3.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01545/0.8714, allocations: 7.495 MB / 0.6866 GB, free: 12.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.8715, allocations: 7.984 kB / 0.6866 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.8715, allocations: 0 / 0.6866 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03927/0.9108, allocations: 20.75 MB / 0.7069 GB, free: 7.656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/0.913, allocations: 419.3 kB / 0.7073 GB, free: 7.246 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/0.9291, allocations: 6.86 MB / 0.714 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/0.933, allocations: 341.1 kB / 0.7143 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2696/1.203, allocations: 131.9 kB / 0.7144 GB, free: 100.9 MB / 442.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 () * Number of clocked 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.002679/1.205, allocations: 0.5131 MB / 0.7149 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.207, allocations: 312 kB / 0.7152 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/1.221, allocations: 7.946 MB / 0.723 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.662e-05/1.221, allocations: 49.88 kB / 0.723 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/1.221, allocations: 1.219 kB / 0.723 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.221e-05/1.221, allocations: 24.38 kB / 0.7231 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02831/1.25, allocations: 13.57 MB / 0.7363 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.163e-05/1.25, allocations: 3.781 kB / 0.7363 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/1.252, allocations: 441.1 kB / 0.7367 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03188/1.284, allocations: 9.649 MB / 0.7462 GB, free: 99.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001605/1.285, allocations: 114.2 kB / 0.7463 GB, free: 99.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/1.304, allocations: 6.984 MB / 0.7531 GB, free: 97.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/1.304, allocations: 3.953 kB / 0.7531 GB, free: 97.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02063/1.325, allocations: 8.021 MB / 0.7609 GB, free: 93.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003895/1.329, allocations: 0.9996 MB / 0.7619 GB, free: 92.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001737/1.331, allocations: 84 kB / 0.762 GB, free: 92.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004829/1.336, allocations: 326.4 kB / 0.7623 GB, free: 92.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001196/1.337, allocations: 323.7 kB / 0.7626 GB, free: 91.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008674/1.338, allocations: 165.3 kB / 0.7628 GB, free: 91.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002342/1.34, allocations: 1.052 MB / 0.7638 GB, free: 90.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.34, allocations: 0 / 0.7638 GB, free: 90.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003803/1.344, allocations: 1.004 MB / 0.7648 GB, free: 89.95 MB / 442.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) * 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 {79 157} Notification: Performance of Backend phase and start with SimCode phase: time 0.01699/1.361, allocations: 8.766 MB / 0.7733 GB, free: 82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01591/1.377, allocations: 6.369 MB / 0.7796 GB, free: 76.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.377, allocations: 7 kB / 0.7796 GB, free: 76.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01262/1.39, allocations: 4.023 MB / 0.7835 GB, free: 72.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/1.393, allocations: 309 kB / 0.7838 GB, free: 72.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05077/1.444, allocations: 24.64 MB / 0.8078 GB, free: 48.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/1.446, allocations: 1.77 MB / 0.8096 GB, free: 47.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002297/1.448, allocations: 361 kB / 0.8099 GB, free: 47.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/1.45, allocations: 1.172 MB / 0.8111 GB, free: 46.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.322e-06/1.45, allocations: 1.312 kB / 0.8111 GB, free: 46.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3689/1.819, allocations: 86.9 MB / 0.8959 GB, free: 123.2 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/1.819, allocations: 187.5 kB / 0.8961 GB, free: 123 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.039/6.859, allocations: 0 / 0.8961 GB, free: 123 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)