Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.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.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding") translateModel(PowerSystems.Examples.AC3ph.Generation.Islanding,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, 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.295/1.295, allocations: 225.7 MB / 243.2 MB, free: 8.516 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.0009776/0.0009776, allocations: 93.69 kB / 294.4 MB, free: 9.516 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.345/0.345, allocations: 38.12 MB / 383.6 MB, free: 40.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005212/0.0005212, allocations: 8 kB / 453.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3641, allocations: 59.14 MB / 0.5006 GB, free: 38.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Islanding): time 0.01122/0.3753, allocations: 10.73 MB / 0.5111 GB, free: 34.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.3864, allocations: 8.65 MB / 0.5195 GB, free: 27.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/0.3889, allocations: 67.59 kB / 0.5196 GB, free: 27.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0181/0.407, allocations: 12.37 MB / 0.5317 GB, free: 24.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002674/0.4097, allocations: 0.7455 MB / 0.5324 GB, free: 23.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.4113, allocations: 0.5544 MB / 0.5329 GB, free: 23.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004875/0.4162, allocations: 4.494 MB / 0.5373 GB, free: 22.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.4182, allocations: 1.554 MB / 0.5388 GB, free: 21.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.4196, allocations: 0.7191 MB / 0.5396 GB, free: 20.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.4208, allocations: 0.9358 MB / 0.5405 GB, free: 20.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.421, allocations: 61.53 kB / 0.5405 GB, free: 20.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007684/0.4218, allocations: 356.7 kB / 0.5409 GB, free: 20.38 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004872/0.4223, allocations: 0.4982 MB / 0.5414 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007718/0.423, allocations: 0.7022 MB / 0.542 GB, free: 19.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.4256, allocations: 2.102 MB / 0.5441 GB, free: 19.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4256, allocations: 5.312 kB / 0.5441 GB, free: 19.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4256, allocations: 4 kB / 0.5441 GB, free: 19.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.976e-05/0.4257, allocations: 0 / 0.5441 GB, free: 19.15 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.00369/0.4294, allocations: 1.629 MB / 0.5457 GB, free: 18.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4294, allocations: 9.5 kB / 0.5457 GB, free: 18.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009122/0.4304, allocations: 229.9 kB / 0.5459 GB, free: 18.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.4327, allocations: 1.148 MB / 0.547 GB, free: 17.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/0.4328, allocations: 91.34 kB / 0.5471 GB, free: 17.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.4331, allocations: 140.5 kB / 0.5473 GB, free: 17.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.4357, allocations: 1.476 MB / 0.5487 GB, free: 16.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.4357, allocations: 11.81 kB / 0.5487 GB, free: 16.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.4358, allocations: 42.17 kB / 0.5488 GB, free: 16.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.436, allocations: 80.03 kB / 0.5488 GB, free: 16.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.4381, allocations: 1.222 MB / 0.55 GB, free: 16.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00791/0.4461, allocations: 5.721 MB / 0.5556 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.4478, allocations: 0.9811 MB / 0.5566 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008182/0.4486, allocations: 494.7 kB / 0.557 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.958e-05/0.4487, allocations: 16.2 kB / 0.5571 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.4487, allocations: 47.28 kB / 0.5571 GB, free: 10.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=76): time 2.906e-06/0.4487, allocations: 0 / 0.5571 GB, free: 10.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.008864/0.4576, allocations: 4.374 MB / 0.5614 GB, free: 7.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.918e-05/0.4577, allocations: 168.1 kB / 0.5615 GB, free: 7.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.4592, allocations: 0.926 MB / 0.5624 GB, free: 7.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/0.4593, allocations: 41.7 kB / 0.5625 GB, free: 7.055 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.4596, allocations: 0.6239 MB / 0.5631 GB, free: 6.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.4598, allocations: 311.5 kB / 0.5634 GB, free: 6.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.4599, allocations: 20 kB / 0.5634 GB, free: 6.094 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.46, allocations: 349.9 kB / 0.5637 GB, free: 5.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.4605, allocations: 406.3 kB / 0.5641 GB, free: 5.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007061/0.4613, allocations: 0.6475 MB / 0.5648 GB, free: 4.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.4626, allocations: 1.1 MB / 0.5658 GB, free: 3.398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4626, allocations: 0 / 0.5658 GB, free: 3.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003691/0.4663, allocations: 2.11 MB / 0.5679 GB, free: 1.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.4664, allocations: 303.7 kB / 0.5682 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4664, allocations: 8 kB / 0.5682 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/0.4688, allocations: 0.8128 MB / 0.569 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/0.4694, allocations: 159.8 kB / 0.5691 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.4838, allocations: 9.883 MB / 0.5788 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.4852, allocations: 63.95 kB / 0.5788 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.272e-05/0.4853, allocations: 39.98 kB / 0.5789 GB, free: 5.461 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.4853, allocations: 4 kB / 0.5789 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003792/0.4891, allocations: 1.758 MB / 0.5806 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.4892, allocations: 8 kB / 0.5806 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/0.4917, allocations: 0.7738 MB / 0.5814 GB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.4923, allocations: 163.7 kB / 0.5815 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.5048, allocations: 9.305 MB / 0.5906 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.5059, allocations: 59.95 kB / 0.5907 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.688e-05/0.506, allocations: 47.98 kB / 0.5907 GB, free: 8.887 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,limPID_DC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,40)} Notification: Performance of prepare postOptimizeDAE: time 0.0009856/0.507, allocations: 481.3 kB / 0.5912 GB, free: 8.406 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.5072, allocations: 106.7 kB / 0.5913 GB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.5095, allocations: 1.358 MB / 0.5926 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.5095, allocations: 8 kB / 0.5926 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.5095, allocations: 4 kB / 0.5926 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.5095, allocations: 3.984 kB / 0.5926 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/0.5139, allocations: 2.676 MB / 0.5952 GB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5139, allocations: 0 / 0.5952 GB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.5149, allocations: 183.8 kB / 0.5954 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002558/0.5152, allocations: 98.34 kB / 0.5955 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.445e-05/0.5153, allocations: 23.98 kB / 0.5955 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002985/0.5183, allocations: 4.12 MB / 0.5995 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5183, allocations: 0 / 0.5995 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.5211, allocations: 1.937 MB / 0.6014 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005824/0.5217, allocations: 271.6 kB / 0.6017 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/0.522, allocations: 35.94 kB / 0.6017 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008279/0.5228, allocations: 47.95 kB / 0.6018 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.523, allocations: 52.92 kB / 0.6018 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.71e-05/0.5231, allocations: 27.98 kB / 0.6019 GB, free: 12.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0012/0.5243, allocations: 0.6384 MB / 0.6025 GB, free: 12.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5243, allocations: 0 / 0.6025 GB, free: 12.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002171/0.5265, allocations: 0.5509 MB / 0.603 GB, free: 11.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.generator.i_rd[1],turboGen.generator.i_rq[1],turboGen.governor.speedReg.x_scaled[1],turboGen.rotor.phi,turboGen.rotor.w,capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,limPID_DC.I.y,limPID_DC.D.x) * 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 (86): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004083/0.5269, allocations: 165.8 kB / 0.6032 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005557/0.5324, allocations: 3.019 MB / 0.6061 GB, free: 8.301 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.5325, allocations: 3.938 kB / 0.6061 GB, free: 8.297 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.5338, allocations: 0.8337 MB / 0.6069 GB, free: 7.422 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.5356, allocations: 257 kB / 0.6072 GB, free: 7.168 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/0.5423, allocations: 4.013 MB / 0.6111 GB, free: 3.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.5436, allocations: 1.336 MB / 0.6124 GB, free: 1.754 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001172/0.5448, allocations: 264.9 kB / 0.6127 GB, free: 1.492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.5452, allocations: 79.41 kB / 0.6127 GB, free: 1.414 MB / 426.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5452, allocations: 0 / 0.6127 GB, free: 1.414 MB / 426.7 MB Notification: Performance of Templates: time 0.04936/0.5945, allocations: 23.86 MB / 0.636 GB, free: 9.652 MB / 458.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.Islanding.pipe 2>&1)