Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads",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.001349/0.001349, allocations: 177.6 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.5 MB / 230 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009063/0.0009063, allocations: 98.34 kB / 280.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04603/0.04603, allocations: 8.098 MB / 339.8 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.685e-05, allocations: 3.781 kB / 398.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1262, allocations: 52.52 MB / 451.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.2406, allocations: 80.73 MB / 0.5194 GB, free: 4.465 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.2409, allocations: 71.97 kB / 0.5194 GB, free: 4.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3404/0.5813, allocations: 35.61 MB / 0.5542 GB, free: 62.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5814, allocations: 0 / 0.5542 GB, free: 62.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.696e-05/0.5814, allocations: 24.19 kB / 0.5542 GB, free: 62.43 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.009992/0.5914, allocations: 1.918 MB / 0.5561 GB, free: 60.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/0.5915, allocations: 16.64 kB / 0.5561 GB, free: 60.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000688/0.5922, allocations: 134.5 kB / 0.5562 GB, free: 60.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/0.5941, allocations: 0.8034 MB / 0.557 GB, free: 59.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.5942, allocations: 28 kB / 0.557 GB, free: 59.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.5944, allocations: 51.94 kB / 0.5571 GB, free: 59.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002986/0.5974, allocations: 1.402 MB / 0.5585 GB, free: 57.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.6003, allocations: 1.377 MB / 0.5598 GB, free: 56.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.6003, allocations: 0 / 0.5598 GB, free: 56.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.6005, allocations: 4 kB / 0.5598 GB, free: 56.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.6005, allocations: 20 kB / 0.5598 GB, free: 56.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.6123, allocations: 6.343 MB / 0.566 GB, free: 49.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003799/0.6162, allocations: 3.652 MB / 0.5696 GB, free: 45.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.6181, allocations: 1.04 MB / 0.5706 GB, free: 44.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/0.6185, allocations: 110.4 kB / 0.5707 GB, free: 44.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/0.6186, allocations: 56.11 kB / 0.5708 GB, free: 44.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=150): time 5.63e-06/0.6186, allocations: 0 / 0.5708 GB, free: 44.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=150): time 0.01554/0.6341, allocations: 3.588 MB / 0.5743 GB, free: 40.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.6343, allocations: 116.1 kB / 0.5744 GB, free: 40.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.6355, allocations: 0.5936 MB / 0.575 GB, free: 40.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003623/0.6359, allocations: 25.7 kB / 0.575 GB, free: 40.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.6362, allocations: 365.8 kB / 0.5753 GB, free: 39.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005273/0.6367, allocations: 480.5 kB / 0.5758 GB, free: 39.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.6369, allocations: 0 / 0.5758 GB, free: 39.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.637, allocations: 361.9 kB / 0.5761 GB, free: 38.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.6386, allocations: 0.7798 MB / 0.5769 GB, free: 38.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.6403, allocations: 0.8693 MB / 0.5777 GB, free: 37.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003116/0.6434, allocations: 0.9161 MB / 0.5786 GB, free: 36.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.6435, allocations: 0 / 0.5786 GB, free: 36.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.01556/0.659, allocations: 3.643 MB / 0.5822 GB, free: 32.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.6591, allocations: 4 kB / 0.5822 GB, free: 32.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.6592, allocations: 0 / 0.5822 GB, free: 32.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01378/0.6729, allocations: 2.377 MB / 0.5845 GB, free: 30.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.6741, allocations: 151.8 kB / 0.5847 GB, free: 30.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02979/0.7039, allocations: 11.39 MB / 0.5958 GB, free: 18.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.706, allocations: 71.05 kB / 0.5959 GB, free: 18.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/0.7062, allocations: 43.97 kB / 0.5959 GB, free: 18.54 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: feeder1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real feeder1.load1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real feeder2.load1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 {20 48} Notification: Performance of prepare postOptimizeDAE: time 0.0005292/0.7068, allocations: 125.4 kB / 0.596 GB, free: 18.41 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01642/0.7232, allocations: 3.588 MB / 0.5995 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007403/0.724, allocations: 114.7 kB / 0.5996 GB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/0.7411, allocations: 3.969 MB / 0.6035 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/0.7412, allocations: 16 kB / 0.6035 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.7412, allocations: 0 / 0.6035 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.983e-05/0.7412, allocations: 7.969 kB / 0.6035 GB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.7553, allocations: 6.12 MB / 0.6095 GB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.7553, allocations: 3.938 kB / 0.6095 GB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.7559, allocations: 167.8 kB / 0.6097 GB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009549/0.7655, allocations: 2.365 MB / 0.612 GB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003445/0.7659, allocations: 15.98 kB / 0.612 GB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02014/0.7861, allocations: 11.34 MB / 0.6231 GB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.7861, allocations: 0 / 0.6231 GB, free: 6.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/0.797, allocations: 3.843 MB / 0.6268 GB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005542/0.7976, allocations: 223.3 kB / 0.627 GB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.7978, allocations: 0 / 0.627 GB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.799, allocations: 75.88 kB / 0.6271 GB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000426/0.7994, allocations: 130.4 kB / 0.6272 GB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.7996, allocations: 55.98 kB / 0.6273 GB, free: 2.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000627/0.8002, allocations: 463.2 kB / 0.6277 GB, free: 1.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8002, allocations: 0 / 0.6277 GB, free: 1.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001596/0.8018, allocations: 483.6 kB / 0.6282 GB, free: 1.215 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 103 * 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 {20 48} Notification: Performance of Backend phase and start with SimCode phase: time 0.01101/0.8128, allocations: 4.424 MB / 0.6325 GB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006349/0.8192, allocations: 2.742 MB / 0.6352 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.8193, allocations: 0.7812 kB / 0.6352 GB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004852/0.8241, allocations: 1.86 MB / 0.637 GB, free: 8.137 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.8252, allocations: 93.91 kB / 0.6371 GB, free: 8.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.8287, allocations: 1.707 MB / 0.6388 GB, free: 6.297 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.8294, allocations: 1.108 MB / 0.6399 GB, free: 5.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005874/0.83, allocations: 143.7 kB / 0.64 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.8305, allocations: 407.3 kB / 0.6404 GB, free: 4.617 MB / 394.7 MB Notification: Performance of SimCode: time 2.314e-06/0.8305, allocations: 0 / 0.6404 GB, free: 4.617 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08034/0.9109, allocations: 44.87 MB / 0.6842 GB, free: 7.805 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/0.9112, allocations: 150.9 kB / 0.6843 GB, free: 7.609 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.691, allocations: 3.938 kB / 0.6843 GB, free: 7.605 MB / 442.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithLoads.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)