Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop",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.0009334/0.0009337, allocations: 89.89 kB / 16.65 MB, free: 6.59 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.00102/0.00102, allocations: 182.8 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.164/0.164, allocations: 38.05 MB / 310.1 MB, free: 5.914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004961, allocations: 16 kB / 377.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2353, allocations: 56.32 MB / 433.6 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.004805/0.2401, allocations: 7.178 MB / 440.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003674/0.2438, allocations: 4.457 MB / 445.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.244, allocations: 15.94 kB / 445.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.2443, allocations: 131.1 kB / 445.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.2458, allocations: 1.145 MB / 446.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.2463, allocations: 283.3 kB / 446.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.2477, allocations: 2.58 MB / 449.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.2493, allocations: 1.277 MB / 450.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005091/0.2498, allocations: 469.7 kB / 451.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.2504, allocations: 0.6852 MB / 451.8 MB, free: 384 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.2505, allocations: 32 kB / 451.8 MB, free: 352 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.2526, allocations: 1.59 MB / 453.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.2529, allocations: 438.9 kB / 453.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.2533, allocations: 419.6 kB / 454.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.2549, allocations: 1.503 MB / 455.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2549, allocations: 3.984 kB / 455.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2549, allocations: 0 / 455.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.255, allocations: 0 / 455.8 MB, free: 12.39 MB / 334.1 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.001454/0.2564, allocations: 0.9796 MB / 456.7 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2565, allocations: 16.03 kB / 456.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.2566, allocations: 131.2 kB / 456.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002878/0.2595, allocations: 391.4 kB / 457.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.2601, allocations: 474.6 kB / 457.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.2602, allocations: 54.38 kB / 457.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.2603, allocations: 72.36 kB / 457.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.2621, allocations: 1.18 MB / 459 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.2621, allocations: 7.984 kB / 459 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/0.2622, allocations: 27.98 kB / 459.1 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.131e-05/0.2623, allocations: 69.97 kB / 459.1 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.264, allocations: 1.245 MB / 460.4 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.269, allocations: 3.531 MB / 463.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.2706, allocations: 1.069 MB / 465 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008552/0.2714, allocations: 0.6528 MB / 465.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.017e-05/0.2715, allocations: 24.95 kB / 465.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2716, allocations: 43.56 kB / 465.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.564e-06/0.2716, allocations: 3.938 kB / 465.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=92): time 0.006173/0.2777, allocations: 3.107 MB / 468.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.2778, allocations: 86.11 kB / 468.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.2782, allocations: 361.6 kB / 469.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.2782, allocations: 41.7 kB / 469.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.2784, allocations: 316.2 kB / 469.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002435/0.2787, allocations: 315.4 kB / 469.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/0.2788, allocations: 77.61 kB / 470 MB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.2789, allocations: 366.8 kB / 470.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/0.2796, allocations: 465.7 kB / 470.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/0.2803, allocations: 0.5734 MB / 471.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.2818, allocations: 1.113 MB / 472.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2818, allocations: 0 / 472.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002228/0.284, allocations: 1.473 MB / 474 MB, free: 9.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.284, allocations: 11.98 kB / 474 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.284, allocations: 4.188 kB / 474 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008926/0.2849, allocations: 332.6 kB / 474.3 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006654/0.2856, allocations: 187.7 kB / 474.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004863/0.2905, allocations: 3.875 MB / 478.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000459/0.291, allocations: 47.95 kB / 478.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.912e-05/0.2911, allocations: 39.92 kB / 478.4 MB, free: 5.141 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004263/0.2915, allocations: 293.6 kB / 478.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2916, allocations: 55.34 kB / 478.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.2942, allocations: 1.571 MB / 480.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.2942, allocations: 12 kB / 480.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.2942, allocations: 4 kB / 480.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.2942, allocations: 3.984 kB / 480.4 MB, free: 3.184 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 postOpt removeSimpleEquations (simulation): time 0.004501/0.2987, allocations: 3.036 MB / 483.4 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.2988, allocations: 8.031 kB / 483.4 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/0.2994, allocations: 167.7 kB / 483.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007487/0.3001, allocations: 284.5 kB / 483.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/0.3002, allocations: 27.98 kB / 483.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004351/0.3046, allocations: 3.612 MB / 487.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.3046, allocations: 4 kB / 487.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.3068, allocations: 1.6 MB / 489.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.3069, allocations: 144.3 kB / 489.2 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.91e-05/0.307, allocations: 27.98 kB / 489.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.3074, allocations: 35.97 kB / 489.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.3076, allocations: 88.7 kB / 489.4 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.3077, allocations: 39.98 kB / 489.4 MB, free: 9.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.3079, allocations: 259.2 kB / 489.7 MB, free: 9.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3079, allocations: 3.938 kB / 489.7 MB, free: 9.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000857/0.3088, allocations: 304 kB / 490 MB, free: 9.203 MB / 366.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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002514/0.3113, allocations: 2.171 MB / 492.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.3133, allocations: 1.389 MB / 493.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3133, allocations: 0 / 493.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.3144, allocations: 0.8477 MB / 494.4 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007813/0.3152, allocations: 102.4 kB / 494.5 MB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009844/0.3251, allocations: 7.962 MB / 0.4907 GB, free: 12.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/0.3257, allocations: 1.068 MB / 0.4917 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004454/0.3262, allocations: 180.6 kB / 0.4919 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/0.3266, allocations: 259.3 kB / 0.4921 GB, free: 10.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3266, allocations: 0 / 0.4921 GB, free: 10.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.3541, allocations: 15.21 MB / 0.507 GB, free: 11.68 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.3544, allocations: 212.7 kB / 0.5072 GB, free: 11.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.26, allocations: 0 / 0.5072 GB, free: 11.43 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)