Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009052/0.000905, allocations: 167 kB / 16.07 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.4 MB / 222.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006811/0.0006809, allocations: 84.86 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1611/0.1611, allocations: 38.06 MB / 356.9 MB, free: 1.715 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004375, allocations: 8 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2661, allocations: 56.33 MB / 479.7 MB, free: 9.219 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006117/0.2722, allocations: 6.83 MB / 486.6 MB, free: 4.613 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005011/0.2773, allocations: 4.174 MB / 490.7 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005785/0.2779, allocations: 18.94 kB / 490.8 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.2783, allocations: 139.6 kB / 490.9 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.2812, allocations: 1.079 MB / 492 MB, free: 1.078 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009892/0.2822, allocations: 281.8 kB / 492.2 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002851/0.2851, allocations: 1.919 MB / 494.2 MB, free: 336 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/0.2875, allocations: 1.215 MB / 495.4 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.2888, allocations: 497 kB / 495.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.2905, allocations: 0.6583 MB / 496.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.2907, allocations: 36.31 kB / 496.6 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.2946, allocations: 1.512 MB / 498.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.2957, allocations: 449.1 kB / 498.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.2967, allocations: 402.7 kB / 498.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.2991, allocations: 1.077 MB / 500 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.2991, allocations: 5.188 kB / 500 MB, free: 13.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2991, allocations: 0 / 500 MB, free: 13.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.822e-05/0.2991, allocations: 0 / 500 MB, free: 13.69 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002202/0.3013, allocations: 0.9845 MB / 0.4892 GB, free: 12.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3014, allocations: 13.16 kB / 0.4892 GB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.3016, allocations: 132.9 kB / 0.4894 GB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003048/0.3046, allocations: 392.6 kB / 0.4897 GB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000784/0.3054, allocations: 486.1 kB / 0.4902 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.3055, allocations: 54.92 kB / 0.4903 GB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.3056, allocations: 67.38 kB / 0.4903 GB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.3075, allocations: 1.169 MB / 0.4915 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.3075, allocations: 5.062 kB / 0.4915 GB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.3076, allocations: 34.67 kB / 0.4915 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.3077, allocations: 70.45 kB / 0.4916 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.3096, allocations: 1.232 MB / 0.4928 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005615/0.3153, allocations: 3.534 MB / 0.4962 GB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.3169, allocations: 1.061 MB / 0.4973 GB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008919/0.3178, allocations: 0.6529 MB / 0.4979 GB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.182e-05/0.3179, allocations: 23.39 kB / 0.4979 GB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3179, allocations: 38.94 kB / 0.498 GB, free: 7.484 MB / 330.7 MB Notification: Performance of pre-optimization done (n=91): time 2.966e-06/0.3179, allocations: 0 / 0.498 GB, free: 7.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=92): time 0.006646/0.3246, allocations: 3.096 MB / 0.501 GB, free: 4.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3247, allocations: 86.11 kB / 0.5011 GB, free: 4.688 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.3251, allocations: 357.6 kB / 0.5014 GB, free: 4.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.3252, allocations: 41.7 kB / 0.5014 GB, free: 4.285 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.3254, allocations: 316.1 kB / 0.5017 GB, free: 3.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.3256, allocations: 315.4 kB / 0.502 GB, free: 3.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.3257, allocations: 20 kB / 0.5021 GB, free: 3.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3259, allocations: 370.8 kB / 0.5024 GB, free: 3.266 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006584/0.3265, allocations: 465.7 kB / 0.5029 GB, free: 2.809 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007378/0.3273, allocations: 0.5618 MB / 0.5034 GB, free: 2.219 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.3288, allocations: 1.109 MB / 0.5045 GB, free: 1.082 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3288, allocations: 4 kB / 0.5045 GB, free: 1.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002441/0.3312, allocations: 1.465 MB / 0.5059 GB, free: 15.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.3313, allocations: 10.19 kB / 0.5059 GB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3313, allocations: 0 / 0.5059 GB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009493/0.3323, allocations: 344.8 kB / 0.5063 GB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.333, allocations: 179.7 kB / 0.5064 GB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005222/0.3382, allocations: 3.86 MB / 0.5102 GB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/0.3389, allocations: 47.94 kB / 0.5103 GB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.339, allocations: 47.98 kB / 0.5103 GB, free: 10.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004859/0.3395, allocations: 289.5 kB / 0.5106 GB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.3397, allocations: 63.34 kB / 0.5106 GB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/0.3424, allocations: 1.567 MB / 0.5122 GB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.3424, allocations: 8 kB / 0.5122 GB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.3424, allocations: 11.94 kB / 0.5122 GB, free: 9.004 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.3424, allocations: 3.984 kB / 0.5122 GB, free: 9 MB / 346.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 postOpt removeSimpleEquations (simulation): time 0.004902/0.3473, allocations: 3.028 MB / 0.5151 GB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.3474, allocations: 0 / 0.5151 GB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.348, allocations: 167.8 kB / 0.5153 GB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000777/0.3488, allocations: 285 kB / 0.5156 GB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/0.3488, allocations: 23.98 kB / 0.5156 GB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004645/0.3535, allocations: 3.607 MB / 0.5191 GB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.3535, allocations: 11.94 kB / 0.5191 GB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.356, allocations: 1.584 MB / 0.5207 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.3563, allocations: 144.3 kB / 0.5208 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.3564, allocations: 24 kB / 0.5208 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005301/0.357, allocations: 39.95 kB / 0.5209 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.3572, allocations: 84.77 kB / 0.521 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/0.3573, allocations: 39.98 kB / 0.521 GB, free: 15.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002857/0.3576, allocations: 255.2 kB / 0.5212 GB, free: 15.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3576, allocations: 0 / 0.5212 GB, free: 15.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001074/0.3586, allocations: 304 kB / 0.5215 GB, free: 15.06 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002642/0.3613, allocations: 2.156 MB / 0.5236 GB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.3635, allocations: 1.382 MB / 0.525 GB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3635, allocations: 0 / 0.525 GB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.3646, allocations: 0.8434 MB / 0.5258 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008638/0.3655, allocations: 106.3 kB / 0.5259 GB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007356/0.3729, allocations: 5.279 MB / 0.5311 GB, free: 5.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.3736, allocations: 1.068 MB / 0.5321 GB, free: 3.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/0.374, allocations: 267.3 kB / 0.5324 GB, free: 3.715 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.374, allocations: 4 kB / 0.5324 GB, free: 3.711 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.558/3.932, allocations: 13.96 MB / 0.546 GB, free: 5.723 MB / 378.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)