Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened",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.000886/0.000886, allocations: 174 kB / 16.07 MB, free: 5.723 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.344/1.344, 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.0007641/0.0007642, allocations: 92.92 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1713/0.1713, allocations: 38.07 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003592, allocations: 12 kB / 423.4 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2695, allocations: 56.33 MB / 479.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006643/0.2762, allocations: 7.255 MB / 487 MB, free: 4.316 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005282/0.2816, allocations: 4.564 MB / 491.6 MB, free: 1.094 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000568/0.2822, allocations: 30.38 kB / 491.6 MB, free: 1.078 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.2827, allocations: 148.8 kB / 491.7 MB, free: 1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.2858, allocations: 1.142 MB / 492.9 MB, free: 476 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.287, allocations: 337.7 kB / 493.2 MB, free: 312 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003686/0.2908, allocations: 2.003 MB / 495.2 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002801/0.2936, allocations: 1.187 MB / 496.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.2952, allocations: 0.5077 MB / 496.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.2969, allocations: 0.6788 MB / 497.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.2972, allocations: 32.81 kB / 497.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003838/0.301, allocations: 1.633 MB / 499.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007581/0.3018, allocations: 461.5 kB / 499.7 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009459/0.3027, allocations: 413.2 kB / 0.4884 GB, free: 13.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.3051, allocations: 1.143 MB / 0.4895 GB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3052, allocations: 0.9688 kB / 0.4895 GB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3052, allocations: 7.938 kB / 0.4895 GB, free: 12.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.803e-05/0.3052, allocations: 0 / 0.4895 GB, free: 12.79 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002297/0.3075, allocations: 1.01 MB / 0.4905 GB, free: 11.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.3076, allocations: 9.312 kB / 0.4905 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002911/0.3079, allocations: 135.1 kB / 0.4906 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.3112, allocations: 417.3 kB / 0.491 GB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.3123, allocations: 496.2 kB / 0.4915 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/0.3124, allocations: 56.55 kB / 0.4915 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.3126, allocations: 72.98 kB / 0.4916 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.315, allocations: 1.232 MB / 0.4928 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/0.3151, allocations: 1.531 kB / 0.4928 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.3152, allocations: 31.06 kB / 0.4929 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.3153, allocations: 77.44 kB / 0.4929 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.3175, allocations: 1.305 MB / 0.4942 GB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006469/0.324, allocations: 3.725 MB / 0.4978 GB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.3261, allocations: 1.089 MB / 0.4989 GB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009544/0.3271, allocations: 0.6356 MB / 0.4995 GB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.939e-05/0.3272, allocations: 21.14 kB / 0.4995 GB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3272, allocations: 39.56 kB / 0.4996 GB, free: 6.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 3.056e-06/0.3272, allocations: 0 / 0.4996 GB, free: 6.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.007053/0.3343, allocations: 3.149 MB / 0.5027 GB, free: 3.094 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.3344, allocations: 90.11 kB / 0.5027 GB, free: 2.988 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.3348, allocations: 373.6 kB / 0.5031 GB, free: 2.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.3349, allocations: 41.7 kB / 0.5031 GB, free: 2.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.3351, allocations: 328 kB / 0.5034 GB, free: 2.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.3354, allocations: 319.4 kB / 0.5038 GB, free: 1.926 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.3355, allocations: 20.03 kB / 0.5038 GB, free: 1.906 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3356, allocations: 366.8 kB / 0.5041 GB, free: 1.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000669/0.3363, allocations: 465.7 kB / 0.5046 GB, free: 1.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007333/0.3371, allocations: 0.5704 MB / 0.5051 GB, free: 492 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.3386, allocations: 1.11 MB / 0.5062 GB, free: 15.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3386, allocations: 0 / 0.5062 GB, free: 15.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002467/0.3411, allocations: 1.477 MB / 0.5076 GB, free: 13.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.3411, allocations: 8 kB / 0.5077 GB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3411, allocations: 224 / 0.5077 GB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009421/0.3421, allocations: 340.5 kB / 0.508 GB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/0.3428, allocations: 187.7 kB / 0.5082 GB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005188/0.348, allocations: 3.878 MB / 0.5119 GB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006253/0.3486, allocations: 39.95 kB / 0.512 GB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.3488, allocations: 39.98 kB / 0.512 GB, free: 9.207 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0005742/0.3494, allocations: 305.4 kB / 0.5123 GB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.3495, allocations: 59.34 kB / 0.5124 GB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.3522, allocations: 1.54 MB / 0.5139 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.3522, allocations: 12 kB / 0.5139 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.3522, allocations: 7.938 kB / 0.5139 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.3522, allocations: 3.984 kB / 0.5139 GB, free: 7.262 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.004952/0.3572, allocations: 3.01 MB / 0.5168 GB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.3572, allocations: 8.094 kB / 0.5168 GB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.3578, allocations: 171.6 kB / 0.517 GB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007904/0.3586, allocations: 280.6 kB / 0.5173 GB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.422e-05/0.3587, allocations: 27.98 kB / 0.5173 GB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00486/0.3636, allocations: 3.599 MB / 0.5208 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/0.3636, allocations: 7.938 kB / 0.5208 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.3661, allocations: 1.573 MB / 0.5224 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.3663, allocations: 144.3 kB / 0.5225 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.3664, allocations: 27.98 kB / 0.5225 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.3669, allocations: 39.97 kB / 0.5226 GB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.3672, allocations: 84.77 kB / 0.5226 GB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/0.3672, allocations: 39.98 kB / 0.5227 GB, free: 13.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002844/0.3675, allocations: 259.2 kB / 0.5229 GB, free: 13.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3675, allocations: 0 / 0.5229 GB, free: 13.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001032/0.3686, allocations: 308 kB / 0.5232 GB, free: 13.35 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.00258/0.3712, allocations: 2.137 MB / 0.5253 GB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.3732, allocations: 1.382 MB / 0.5267 GB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3733, allocations: 0 / 0.5267 GB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.3744, allocations: 0.8282 MB / 0.5275 GB, free: 8.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008498/0.3753, allocations: 107.2 kB / 0.5276 GB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007615/0.3829, allocations: 5.366 MB / 0.5328 GB, free: 3.285 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007957/0.3837, allocations: 1.079 MB / 0.5339 GB, free: 2.172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.3842, allocations: 279.3 kB / 0.5341 GB, free: 1.898 MB / 362.7 MB Notification: Performance of SimCode: time 2.294e-06/0.3842, allocations: 0 / 0.5341 GB, free: 1.898 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.648/4.032, allocations: 14.42 MB / 0.5482 GB, free: 3.453 MB / 378.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)