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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008894/0.0008896, allocations: 88.72 kB / 16.31 MB, free: 5.684 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.000779/0.0007791, allocations: 181.5 kB / 17.21 MB, free: 5.602 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.483/1.483, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1733/0.1733, allocations: 38.04 MB / 309.7 MB, free: 6.031 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.000526/0.0005261, allocations: 12 kB / 376.6 MB, free: 3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2775, allocations: 56.32 MB / 432.9 MB, free: 18.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.005592/0.2831, allocations: 6.781 MB / 439.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004209/0.2874, allocations: 4.206 MB / 443.9 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004305/0.2878, allocations: 19.94 kB / 443.9 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.2883, allocations: 139 kB / 444.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.2913, allocations: 0.9575 MB / 445 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.2922, allocations: 255.3 kB / 445.3 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.2939, allocations: 1.913 MB / 447.2 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.2957, allocations: 1.285 MB / 448.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006219/0.2964, allocations: 0.4899 MB / 449 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006882/0.2971, allocations: 0.7401 MB / 449.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.2971, allocations: 40 kB / 449.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.2991, allocations: 0.9235 MB / 450.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000491/0.2996, allocations: 0.5768 MB / 451.2 MB, free: 424 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.2998, allocations: 221.1 kB / 451.5 MB, free: 196 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.3015, allocations: 1.337 MB / 452.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3015, allocations: 0 / 452.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3015, allocations: 0 / 452.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3015, allocations: 8 kB / 452.8 MB, free: 14.84 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001783/0.3033, allocations: 1.166 MB / 454 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.3034, allocations: 12.03 kB / 454 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002126/0.3036, allocations: 164.6 kB / 454.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003616/0.3072, allocations: 0.541 MB / 454.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009337/0.3082, allocations: 0.5393 MB / 455.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.79e-05/0.3083, allocations: 65.98 kB / 455.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.3084, allocations: 84 kB / 455.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.3109, allocations: 1.5 MB / 456.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.311, allocations: 4 kB / 456.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.3111, allocations: 39.94 kB / 456.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.3112, allocations: 98 kB / 457 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.3136, allocations: 1.546 MB / 458.6 MB, free: 8.934 MB / 334.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.007388/0.321, allocations: 4.946 MB / 463.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.3228, allocations: 1.168 MB / 464.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.3238, allocations: 0.7646 MB / 465.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/0.3239, allocations: 17.05 kB / 465.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.324, allocations: 51.52 kB / 465.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=107): time 2.655e-06/0.324, allocations: 0 / 465.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=108): time 0.007407/0.3314, allocations: 3.658 MB / 469.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.753e-05/0.3315, allocations: 86.11 kB / 469.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/0.3321, allocations: 473.7 kB / 469.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.3322, allocations: 41.7 kB / 469.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.3326, allocations: 423.4 kB / 470.2 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003413/0.3329, allocations: 366.6 kB / 470.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/0.333, allocations: 24 kB / 470.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3332, allocations: 382.8 kB / 470.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008314/0.334, allocations: 0.5374 MB / 471.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009458/0.335, allocations: 0.75 MB / 472.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009466/0.3359, allocations: 0.6549 MB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3359, allocations: 4 kB / 472.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002904/0.3389, allocations: 1.786 MB / 474.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.3389, allocations: 8 kB / 474.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.3389, allocations: 8 kB / 474.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.3399, allocations: 413.8 kB / 475.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008696/0.3408, allocations: 239.6 kB / 475.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006888/0.3477, allocations: 5.605 MB / 480.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007343/0.3485, allocations: 67.92 kB / 481 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/0.3486, allocations: 40 kB / 481 MB, free: 1.742 MB / 350.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.0006121/0.3492, allocations: 365.4 kB / 481.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.3493, allocations: 75.22 kB / 481.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/0.3524, allocations: 1.795 MB / 483.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.3525, allocations: 12 kB / 483.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.3525, allocations: 8 kB / 483.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.3525, allocations: 7.969 kB / 483.3 MB, free: 15.46 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.005509/0.358, allocations: 3.462 MB / 486.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.495e-06/0.358, allocations: 8.031 kB / 486.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/0.3587, allocations: 191.7 kB / 486.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008857/0.3596, allocations: 358.2 kB / 487.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-05/0.3597, allocations: 24 kB / 487.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006255/0.366, allocations: 5.345 MB / 492.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.366, allocations: 4 kB / 492.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003036/0.3691, allocations: 1.811 MB / 494.5 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.3693, allocations: 160.1 kB / 494.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3694, allocations: 28 kB / 494.6 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.3698, allocations: 59.88 kB / 494.7 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.37, allocations: 96.77 kB / 494.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.042e-05/0.3701, allocations: 36 kB / 494.8 MB, free: 3.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003752/0.3705, allocations: 319.1 kB / 495.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3705, allocations: 0 / 495.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001225/0.3717, allocations: 396 kB / 495.5 MB, free: 2.691 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 (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.003109/0.3748, allocations: 2.387 MB / 497.9 MB, free: 232 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.3777, allocations: 1.736 MB / 499.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.3777, allocations: 0 / 499.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.3793, allocations: 1.077 MB / 0.489 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008238/0.3801, allocations: 130.2 kB / 0.4891 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009457/0.3896, allocations: 6.439 MB / 0.4954 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009731/0.3906, allocations: 1.174 MB / 0.4966 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006501/0.3913, allocations: 249.3 kB / 0.4968 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005388/0.3918, allocations: 339.3 kB / 0.4971 GB, free: 4.836 MB / 382.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3919, allocations: 0 / 0.4971 GB, free: 4.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03669/0.4286, allocations: 18.61 MB / 0.5153 GB, free: 2.258 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.4288, allocations: 206 kB / 0.5155 GB, free: 2.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/2.64, allocations: 0 / 0.5155 GB, free: 2.02 MB / 398.1 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) Environment - environmentSimulation: