Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 183.2 kB / 16.71 MB, free: 4.969 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.333/1.333, allocations: 225.7 MB / 243.2 MB, free: 8.52 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.0008063/0.0008064, allocations: 94.19 kB / 294.4 MB, free: 9.52 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.3368/0.3368, allocations: 38.12 MB / 383.6 MB, free: 40.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003371, allocations: 8.219 kB / 453.5 MB, free: 8.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3358, allocations: 59.14 MB / 0.5006 GB, free: 39.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01036/0.3462, allocations: 9.519 MB / 0.5099 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008158/0.3545, allocations: 4.335 MB / 0.5141 GB, free: 31.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.3564, allocations: 63.5 kB / 0.5142 GB, free: 31.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009902/0.3574, allocations: 265.5 kB / 0.5144 GB, free: 31.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.3595, allocations: 0.723 MB / 0.5151 GB, free: 31.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.3606, allocations: 436.7 kB / 0.5156 GB, free: 30.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.3628, allocations: 2.423 MB / 0.5179 GB, free: 29.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.3642, allocations: 1.089 MB / 0.519 GB, free: 29.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.3654, allocations: 0.5941 MB / 0.5196 GB, free: 29.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.3671, allocations: 0.743 MB / 0.5203 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.3673, allocations: 55.53 kB / 0.5204 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009048/0.3682, allocations: 284.6 kB / 0.5206 GB, free: 28.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005645/0.3687, allocations: 408.3 kB / 0.521 GB, free: 28.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007521/0.3695, allocations: 0.6169 MB / 0.5216 GB, free: 28.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.3709, allocations: 1.838 MB / 0.5234 GB, free: 27.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3709, allocations: 0 / 0.5234 GB, free: 27.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.371, allocations: 0 / 0.5234 GB, free: 27.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.305e-05/0.371, allocations: 0 / 0.5234 GB, free: 27.66 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.00244/0.3734, allocations: 1.399 MB / 0.5248 GB, free: 26.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3735, allocations: 8.562 kB / 0.5248 GB, free: 26.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.3741, allocations: 199.2 kB / 0.525 GB, free: 26.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.3754, allocations: 0.9066 MB / 0.5259 GB, free: 26.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.3755, allocations: 89.39 kB / 0.5259 GB, free: 26.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.3757, allocations: 115 kB / 0.5261 GB, free: 26.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.3775, allocations: 1.347 MB / 0.5274 GB, free: 25.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.3775, allocations: 3.031 kB / 0.5274 GB, free: 25.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/0.3776, allocations: 41.19 kB / 0.5274 GB, free: 25.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-05/0.3777, allocations: 70.2 kB / 0.5275 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.3793, allocations: 1.075 MB / 0.5285 GB, free: 24.99 MB / 378.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0008318498358936397 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005558/0.3848, allocations: 5.154 MB / 0.5336 GB, free: 21.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009971/0.3859, allocations: 0.7592 MB / 0.5343 GB, free: 21.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.3863, allocations: 356.6 kB / 0.5346 GB, free: 21.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.3864, allocations: 14.97 kB / 0.5347 GB, free: 21.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3864, allocations: 42.31 kB / 0.5347 GB, free: 20.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=64): time 2.515e-06/0.3864, allocations: 0 / 0.5347 GB, free: 20.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.00494/0.3913, allocations: 3.132 MB / 0.5378 GB, free: 19.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.3914, allocations: 139.3 kB / 0.5379 GB, free: 18.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007925/0.3922, allocations: 0.744 MB / 0.5386 GB, free: 18.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.3923, allocations: 45.05 kB / 0.5387 GB, free: 18.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.3926, allocations: 0.5543 MB / 0.5392 GB, free: 18.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.3927, allocations: 256.8 kB / 0.5394 GB, free: 17.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.3928, allocations: 19.25 kB / 0.5395 GB, free: 17.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.3928, allocations: 341.9 kB / 0.5398 GB, free: 17.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/0.3933, allocations: 288 kB / 0.5401 GB, free: 17.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/0.3938, allocations: 0.5536 MB / 0.5406 GB, free: 17.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.3949, allocations: 0.9022 MB / 0.5415 GB, free: 16.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.3949, allocations: 3.125 kB / 0.5415 GB, free: 16.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00261/0.3975, allocations: 1.369 MB / 0.5428 GB, free: 15.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.3977, allocations: 335.4 kB / 0.5431 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3977, allocations: 9.219 kB / 0.5432 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.399, allocations: 426.5 kB / 0.5436 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.3996, allocations: 176.7 kB / 0.5437 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007036/0.4066, allocations: 4.944 MB / 0.5486 GB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008341/0.4075, allocations: 45.69 kB / 0.5486 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.4076, allocations: 42.61 kB / 0.5486 GB, free: 12.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.4076, allocations: 8.219 kB / 0.5487 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002395/0.41, allocations: 1.144 MB / 0.5498 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.41, allocations: 9.125 kB / 0.5498 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.4113, allocations: 404.5 kB / 0.5502 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.412, allocations: 173.6 kB / 0.5503 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006885/0.4189, allocations: 4.621 MB / 0.5548 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008222/0.4197, allocations: 35.11 kB / 0.5549 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.4198, allocations: 39.7 kB / 0.5549 GB, free: 9.105 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007453/0.4206, allocations: 446.4 kB / 0.5553 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.4207, allocations: 91.05 kB / 0.5554 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.4222, allocations: 0.8875 MB / 0.5563 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.4222, allocations: 8.812 kB / 0.5563 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4222, allocations: 6.188 kB / 0.5563 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4223, allocations: 3.891 kB / 0.5563 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.4254, allocations: 1.884 MB / 0.5581 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.396e-05/0.4255, allocations: 2.062 kB / 0.5582 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/0.4263, allocations: 166.9 kB / 0.5583 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.4263, allocations: 3.312 kB / 0.5583 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/0.4264, allocations: 24.02 kB / 0.5583 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.4264, allocations: 7.766 kB / 0.5583 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.4264, allocations: 2.375 kB / 0.5583 GB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.4284, allocations: 1.281 MB / 0.5596 GB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.4288, allocations: 227.5 kB / 0.5598 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.4289, allocations: 18.52 kB / 0.5598 GB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004685/0.4294, allocations: 33.23 kB / 0.5599 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.4296, allocations: 51.2 kB / 0.5599 GB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-05/0.4296, allocations: 19.48 kB / 0.5599 GB, free: 6.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009014/0.4305, allocations: 0.5029 MB / 0.5604 GB, free: 6.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4305, allocations: 0 / 0.5604 GB, free: 6.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002213/0.4327, allocations: 473.8 kB / 0.5609 GB, free: 6.148 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.generator.phi_el,PMgen.generator.w_el,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003314/0.4331, allocations: 147.3 kB / 0.561 GB, free: 6.035 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004316/0.4374, allocations: 1.921 MB / 0.5629 GB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.4375, allocations: 0 / 0.5629 GB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006791/0.4382, allocations: 361.2 kB / 0.5632 GB, free: 5.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.4398, allocations: 236.2 kB / 0.5635 GB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004641/0.4444, allocations: 3.131 MB / 0.5665 GB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/0.445, allocations: 1.205 MB / 0.5677 GB, free: 1.297 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009332/0.446, allocations: 247.3 kB / 0.5679 GB, free: 1.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.4462, allocations: 67.42 kB / 0.568 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.4462, allocations: 0 / 0.568 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of Templates: time 0.02785/0.474, allocations: 16.99 MB / 0.5846 GB, free: 84 kB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1)