Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 176.9 kB / 16.71 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 225.7 MB / 243.2 MB, free: 8.254 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007899/0.0007898, allocations: 101 kB / 294.4 MB, free: 9.461 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3153/0.3153, allocations: 38.12 MB / 383.6 MB, free: 40.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003176, allocations: 8 kB / 453.5 MB, free: 8.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.298, allocations: 59.13 MB / 0.5006 GB, free: 39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.006017/0.3041, allocations: 6.921 MB / 0.5074 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005899/0.31, allocations: 9.085 MB / 0.5162 GB, free: 28.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006544/0.3107, allocations: 20.38 kB / 0.5162 GB, free: 28.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004571/0.3112, allocations: 135.9 kB / 0.5164 GB, free: 28.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.314, allocations: 1.209 MB / 0.5176 GB, free: 27.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3151, allocations: 308.3 kB / 0.5179 GB, free: 27.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00222/0.3174, allocations: 2.576 MB / 0.5204 GB, free: 26.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002446/0.3198, allocations: 2.3 MB / 0.5226 GB, free: 24.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.321, allocations: 0.5025 MB / 0.5231 GB, free: 24.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.3223, allocations: 0.7316 MB / 0.5238 GB, free: 24.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.3225, allocations: 40.62 kB / 0.5239 GB, free: 24.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.3255, allocations: 1.71 MB / 0.5255 GB, free: 23.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006247/0.3261, allocations: 0.5489 MB / 0.5261 GB, free: 23.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.3273, allocations: 0.5241 MB / 0.5266 GB, free: 23.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.3309, allocations: 1.919 MB / 0.5284 GB, free: 22.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.3309, allocations: 0 / 0.5284 GB, free: 22.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3309, allocations: 0 / 0.5284 GB, free: 22.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.365e-05/0.331, allocations: 0 / 0.5284 GB, free: 22.71 MB / 378.7 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.002168/0.3331, allocations: 1.158 MB / 0.5296 GB, free: 21.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3332, allocations: 9.656 kB / 0.5296 GB, free: 21.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/0.3368, allocations: 0.5536 MB / 0.5301 GB, free: 21.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009132/0.3378, allocations: 0.5555 MB / 0.5307 GB, free: 21.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.3378, allocations: 65.55 kB / 0.5307 GB, free: 21.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.338, allocations: 88.02 kB / 0.5308 GB, free: 21.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.3399, allocations: 1.495 MB / 0.5323 GB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.3399, allocations: 3.062 kB / 0.5323 GB, free: 20.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.34, allocations: 37.47 kB / 0.5323 GB, free: 20.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.943e-05/0.3401, allocations: 100.8 kB / 0.5324 GB, free: 20.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.342, allocations: 1.54 MB / 0.5339 GB, free: 20.26 MB / 378.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 preOpt removeSimpleEquations (simulation): time 0.006128/0.3481, allocations: 4.95 MB / 0.5388 GB, free: 17.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.3495, allocations: 1.17 MB / 0.5399 GB, free: 17.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008538/0.3504, allocations: 0.7608 MB / 0.5406 GB, free: 16.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.749e-05/0.3505, allocations: 24.05 kB / 0.5407 GB, free: 16.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.3505, allocations: 47.16 kB / 0.5407 GB, free: 16.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 2.965e-06/0.3505, allocations: 0 / 0.5407 GB, free: 16.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.006581/0.3571, allocations: 3.683 MB / 0.5443 GB, free: 15.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.3572, allocations: 87.95 kB / 0.5444 GB, free: 15.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004461/0.3576, allocations: 477.7 kB / 0.5448 GB, free: 14.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.3577, allocations: 43.92 kB / 0.5449 GB, free: 14.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.3579, allocations: 421.2 kB / 0.5453 GB, free: 14.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.3581, allocations: 369.5 kB / 0.5456 GB, free: 14.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.3582, allocations: 25.81 kB / 0.5457 GB, free: 14.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.3583, allocations: 379.9 kB / 0.546 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007058/0.359, allocations: 0.5303 MB / 0.5465 GB, free: 13.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008714/0.3598, allocations: 0.7528 MB / 0.5473 GB, free: 13.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.3615, allocations: 1.398 MB / 0.5486 GB, free: 12.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3616, allocations: 5.156 kB / 0.5486 GB, free: 12.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002811/0.3644, allocations: 1.789 MB / 0.5504 GB, free: 11.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3644, allocations: 8.031 kB / 0.5504 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3644, allocations: 6.781 kB / 0.5504 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.3655, allocations: 412.1 kB / 0.5508 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008831/0.3664, allocations: 235.2 kB / 0.551 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.3723, allocations: 5.606 MB / 0.5565 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007159/0.373, allocations: 66.39 kB / 0.5566 GB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.813e-05/0.3731, allocations: 48.72 kB / 0.5566 GB, free: 7.859 MB / 378.7 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000491/0.3736, allocations: 365.8 kB / 0.557 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.3737, allocations: 71.31 kB / 0.557 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/0.3767, allocations: 1.802 MB / 0.5588 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.3767, allocations: 12.28 kB / 0.5588 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.3767, allocations: 10.38 kB / 0.5588 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.3767, allocations: 6.328 kB / 0.5588 GB, free: 6.883 MB / 378.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.005066/0.3818, allocations: 3.465 MB / 0.5622 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.3818, allocations: 3.5 kB / 0.5622 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.3825, allocations: 188.4 kB / 0.5624 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008935/0.3834, allocations: 349.4 kB / 0.5627 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.099e-05/0.3835, allocations: 29.61 kB / 0.5627 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.3885, allocations: 5.354 MB / 0.568 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3886, allocations: 4 kB / 0.568 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.3913, allocations: 1.815 MB / 0.5697 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.3915, allocations: 156.2 kB / 0.5699 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.3917, allocations: 24 kB / 0.5699 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.3922, allocations: 59.88 kB / 0.57 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.3923, allocations: 92.81 kB / 0.5701 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/0.3924, allocations: 36 kB / 0.5701 GB, free: 13.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003448/0.3928, allocations: 319.1 kB / 0.5704 GB, free: 13.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3928, allocations: 0 / 0.5704 GB, free: 13.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00121/0.394, allocations: 399.9 kB / 0.5708 GB, free: 13.02 MB / 394.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 (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (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.0002068/0.3942, allocations: 139.1 kB / 0.5709 GB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002504/0.3967, allocations: 1.742 MB / 0.5726 GB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3967, allocations: 0 / 0.5726 GB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.3982, allocations: 1.081 MB / 0.5737 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.3991, allocations: 123 kB / 0.5738 GB, free: 9.891 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.4025, allocations: 2.684 MB / 0.5764 GB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/0.4033, allocations: 1.174 MB / 0.5776 GB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005866/0.4039, allocations: 245.3 kB / 0.5778 GB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.4041, allocations: 63.42 kB / 0.5779 GB, free: 5.629 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4041, allocations: 0 / 0.5779 GB, free: 5.629 MB / 394.7 MB Notification: Performance of Templates: time 0.01771/0.4218, allocations: 11.48 MB / 0.5891 GB, free: 10.14 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (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 & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)