Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json 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/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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 88.53 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 223.3 MB / 241.2 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.4102/0.4102, allocations: 38.08 MB / 330.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.00034, allocations: 8 kB / 400.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3916, allocations: 59.17 MB / 459.3 MB, free: 30.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.007751/0.3994, allocations: 6.773 MB / 466.1 MB, free: 25.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006158/0.4056, allocations: 4.166 MB / 470.3 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007289/0.4064, allocations: 16.06 kB / 470.3 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.4069, allocations: 138.8 kB / 470.4 MB, free: 22.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.4102, allocations: 0.9588 MB / 471.4 MB, free: 22.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.4113, allocations: 260.1 kB / 471.6 MB, free: 22.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003117/0.4144, allocations: 1.908 MB / 473.5 MB, free: 21.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.417, allocations: 1.276 MB / 474.8 MB, free: 20.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.4185, allocations: 0.4984 MB / 475.3 MB, free: 20.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.42, allocations: 0.7388 MB / 476 MB, free: 20.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.4201, allocations: 40.5 kB / 476.1 MB, free: 20.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.4229, allocations: 0.9196 MB / 477 MB, free: 19.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007376/0.4236, allocations: 0.5821 MB / 477.6 MB, free: 19.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.4239, allocations: 216.7 kB / 477.8 MB, free: 19.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.4263, allocations: 1.347 MB / 479.1 MB, free: 18.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4263, allocations: 1.125 kB / 479.2 MB, free: 18.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.4263, allocations: 0 / 479.2 MB, free: 18.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.4263, allocations: 0 / 479.2 MB, free: 18.51 MB / 350.1 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.002073/0.4284, allocations: 1.165 MB / 480.3 MB, free: 17.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.4285, allocations: 9.406 kB / 480.3 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/0.4287, allocations: 164.3 kB / 480.5 MB, free: 17.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/0.4326, allocations: 0.5426 MB / 481 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009396/0.4335, allocations: 0.545 MB / 481.6 MB, free: 16.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.4336, allocations: 69.39 kB / 481.6 MB, free: 16.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.4338, allocations: 80.47 kB / 481.7 MB, free: 16.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.4365, allocations: 1.495 MB / 483.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.4366, allocations: 5.188 kB / 483.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.4367, allocations: 39.86 kB / 483.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.4369, allocations: 103 kB / 483.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.4389, allocations: 1.54 MB / 484.9 MB, free: 14.28 MB / 350.1 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.006338/0.4453, allocations: 4.939 MB / 489.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.4467, allocations: 1.184 MB / 491 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008069/0.4475, allocations: 0.7607 MB / 491.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.409e-05/0.4476, allocations: 17.06 kB / 491.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.4476, allocations: 47.56 kB / 491.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=107): time 3.086e-06/0.4477, allocations: 0 / 491.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=108): time 0.006342/0.454, allocations: 3.65 MB / 495.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.4541, allocations: 94.11 kB / 495.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/0.4545, allocations: 465.8 kB / 496 MB, free: 2.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.4546, allocations: 41.7 kB / 496.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.4547, allocations: 435.4 kB / 496.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.455, allocations: 366.6 kB / 496.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.4551, allocations: 20 kB / 496.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4552, allocations: 386.7 kB / 497.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000666/0.4559, allocations: 0.5335 MB / 497.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007448/0.4566, allocations: 0.7539 MB / 498.5 MB, free: 192 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.4577, allocations: 0.6549 MB / 499.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4577, allocations: 0 / 499.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003218/0.461, allocations: 1.79 MB / 0.4893 GB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.461, allocations: 12.03 kB / 0.4893 GB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.461, allocations: 4 kB / 0.4893 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4621, allocations: 417.3 kB / 0.4897 GB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009064/0.463, allocations: 231.6 kB / 0.4899 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007032/0.47, allocations: 5.602 MB / 0.4954 GB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009134/0.471, allocations: 59.94 kB / 0.4954 GB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.934e-05/0.4711, allocations: 52.05 kB / 0.4955 GB, free: 7.07 MB / 366.1 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 () * Number of clocked 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.0006728/0.4718, allocations: 357.4 kB / 0.4958 GB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.4719, allocations: 79.09 kB / 0.4959 GB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.475, allocations: 1.803 MB / 0.4976 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.475, allocations: 12 kB / 0.4977 GB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.4751, allocations: 7.938 kB / 0.4977 GB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4751, allocations: 11.98 kB / 0.4977 GB, free: 4.785 MB / 366.1 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.00603/0.4811, allocations: 3.454 MB / 0.501 GB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.4811, allocations: 4 kB / 0.501 GB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.4818, allocations: 195.7 kB / 0.5012 GB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008868/0.4827, allocations: 350 kB / 0.5016 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.24e-05/0.4828, allocations: 31.98 kB / 0.5016 GB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006853/0.4897, allocations: 5.347 MB / 0.5068 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.4897, allocations: 7.938 kB / 0.5068 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003277/0.493, allocations: 1.815 MB / 0.5086 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.4933, allocations: 160.2 kB / 0.5088 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4935, allocations: 24 kB / 0.5088 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/0.494, allocations: 55.94 kB / 0.5088 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.4941, allocations: 88.78 kB / 0.5089 GB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.4942, allocations: 35.98 kB / 0.5089 GB, free: 8.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004766/0.4947, allocations: 327.1 kB / 0.5093 GB, free: 8.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4947, allocations: 0 / 0.5093 GB, free: 8.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001514/0.4962, allocations: 392 kB / 0.5096 GB, free: 8.02 MB / 382.1 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 (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.003303/0.4996, allocations: 2.383 MB / 0.512 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002872/0.5024, allocations: 1.744 MB / 0.5137 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5025, allocations: 0 / 0.5137 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.504, allocations: 1.081 MB / 0.5147 GB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/0.5049, allocations: 122.9 kB / 0.5148 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009869/0.5148, allocations: 6.452 MB / 0.5211 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.5159, allocations: 1.171 MB / 0.5223 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006774/0.5166, allocations: 233.4 kB / 0.5225 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005532/0.5171, allocations: 343.2 kB / 0.5228 GB, free: 10.16 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5171, allocations: 0 / 0.5228 GB, free: 10.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0381/0.5553, allocations: 18.61 MB / 0.541 GB, free: 7.727 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.5555, allocations: 225.7 kB / 0.5412 GB, free: 7.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/2.901, allocations: 3.938 kB / 0.5412 GB, free: 7.477 MB / 414.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0_res.mat does not exist to compare? outputFormat=mat