Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001855/0.001855, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.695/1.695, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001969/0.001969, allocations: 104.8 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.203/0.203, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.674e-05, allocations: 0 / 397.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3624, allocations: 53.23 MB / 450.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.8526, allocations: 94.39 MB / 0.5325 GB, free: 88.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/0.8531, allocations: 85.81 kB / 0.5326 GB, free: 88.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1393/0.9924, allocations: 59.04 MB / 0.5902 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.468e-06/0.9925, allocations: 3.938 kB / 0.5902 GB, free: 37.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.139e-05/0.9926, allocations: 16 kB / 0.5902 GB, free: 37.43 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002948/0.9955, allocations: 1.132 MB / 0.5913 GB, free: 36.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.9956, allocations: 12.03 kB / 0.5913 GB, free: 36.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002695/0.9959, allocations: 160.5 kB / 0.5915 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004423/1, allocations: 0.502 MB / 0.592 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.002, allocations: 0.5553 MB / 0.5925 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/1.002, allocations: 65.98 kB / 0.5926 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/1.002, allocations: 84 kB / 0.5927 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/1.004, allocations: 1.454 MB / 0.5941 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/1.004, allocations: 0 / 0.5941 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.469e-05/1.005, allocations: 35.98 kB / 0.5941 GB, free: 33.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003702/1.005, allocations: 137.9 kB / 0.5943 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/1.007, allocations: 1.456 MB / 0.5957 GB, free: 31.69 MB / 378.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.007715/1.015, allocations: 4.861 MB / 0.6004 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/1.017, allocations: 1.14 MB / 0.6015 GB, free: 25.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009874/1.018, allocations: 0.7381 MB / 0.6023 GB, free: 24.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.863e-05/1.018, allocations: 17.06 kB / 0.6023 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.73e-05/1.018, allocations: 43.56 kB / 0.6023 GB, free: 24.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 7.684e-06/1.018, allocations: 4 kB / 0.6023 GB, free: 24.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.004764/1.023, allocations: 2.373 MB / 0.6046 GB, free: 22.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/1.023, allocations: 90.11 kB / 0.6047 GB, free: 22.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005094/1.023, allocations: 414.9 kB / 0.6051 GB, free: 21.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/1.023, allocations: 41.7 kB / 0.6052 GB, free: 21.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/1.023, allocations: 423.5 kB / 0.6056 GB, free: 21.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/1.024, allocations: 374.5 kB / 0.6059 GB, free: 20.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/1.024, allocations: 24 kB / 0.6059 GB, free: 20.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/1.024, allocations: 386.8 kB / 0.6063 GB, free: 20.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007154/1.025, allocations: 0.5102 MB / 0.6068 GB, free: 19.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009121/1.026, allocations: 0.7228 MB / 0.6075 GB, free: 19.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008634/1.026, allocations: 0.6372 MB / 0.6081 GB, free: 18.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.027, allocations: 0 / 0.6081 GB, free: 18.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002737/1.029, allocations: 1.752 MB / 0.6099 GB, free: 16.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/1.029, allocations: 11.95 kB / 0.6099 GB, free: 16.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.029, allocations: 4 kB / 0.6099 GB, free: 16.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/1.03, allocations: 407.9 kB / 0.6103 GB, free: 16.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009352/1.031, allocations: 235.6 kB / 0.6105 GB, free: 16.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/1.037, allocations: 5.603 MB / 0.616 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.039, allocations: 75.88 kB / 0.616 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.039, allocations: 51.88 kB / 0.6161 GB, free: 10.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002724/1.039, allocations: 164.6 kB / 0.6162 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/1.039, allocations: 71.16 kB / 0.6163 GB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/1.042, allocations: 1.771 MB / 0.618 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.042, allocations: 12 kB / 0.618 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.042, allocations: 7.953 kB / 0.618 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.042, allocations: 7.984 kB / 0.6181 GB, free: 8.051 MB / 378.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 postOpt removeSimpleEquations (simulation): time 0.005437/1.048, allocations: 3.419 MB / 0.6214 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.048, allocations: 4 kB / 0.6214 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007218/1.048, allocations: 187.7 kB / 0.6216 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00087/1.049, allocations: 343.4 kB / 0.6219 GB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.491e-05/1.049, allocations: 31.98 kB / 0.6219 GB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005917/1.055, allocations: 5.327 MB / 0.6271 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.055, allocations: 7.938 kB / 0.6271 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/1.059, allocations: 1.95 MB / 0.6291 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/1.059, allocations: 156.2 kB / 0.6292 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/1.059, allocations: 24 kB / 0.6292 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/1.06, allocations: 51.94 kB / 0.6293 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/1.06, allocations: 88.78 kB / 0.6294 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/1.06, allocations: 43.98 kB / 0.6294 GB, free: 11.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004706/1.061, allocations: 313.2 kB / 0.6297 GB, free: 11.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.6e-07/1.061, allocations: 0 / 0.6297 GB, free: 11.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001534/1.062, allocations: 408 kB / 0.6301 GB, free: 11.13 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00403/1.066, allocations: 3.557 MB / 0.6336 GB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003639/1.07, allocations: 1.686 MB / 0.6352 GB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.07, allocations: 0.625 kB / 0.6352 GB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001831/1.072, allocations: 1.046 MB / 0.6362 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008648/1.073, allocations: 103 kB / 0.6363 GB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/1.077, allocations: 2.061 MB / 0.6383 GB, free: 2.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009342/1.078, allocations: 1.196 MB / 0.6395 GB, free: 1.176 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006873/1.079, allocations: 237.4 kB / 0.6397 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/1.079, allocations: 343.3 kB / 0.6401 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/1.079, allocations: 0 / 0.6401 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04343/1.123, allocations: 18.85 MB / 0.6585 GB, free: 13.73 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/1.123, allocations: 176.9 kB / 0.6586 GB, free: 13.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/3.843, allocations: 4 kB / 0.6586 GB, free: 13.5 MB / 426.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)