Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/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(PowerGrids.Electrical.Test.OneBusOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 181.5 kB / 15.43 MB, free: 6.199 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.324/1.324, allocations: 225.7 MB / 241.9 MB, free: 396 kB / 186.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.0009628/0.0009629, allocations: 96.94 kB / 293.1 MB, free: 12.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06035/0.06035, allocations: 14.39 MB / 358.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 12 kB / 423.2 MB, free: 85.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07239/0.07272, allocations: 53.96 MB / 477.2 MB, free: 32.84 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusOneLoad): time 0.002924/0.07568, allocations: 3.718 MB / 480.9 MB, free: 29.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.07849, allocations: 3.164 MB / 484.1 MB, free: 25.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00036/0.07887, allocations: 11.94 kB / 484.1 MB, free: 25.69 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.07949, allocations: 211.1 kB / 484.3 MB, free: 25.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.08167, allocations: 1.941 MB / 486.2 MB, free: 23.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.08211, allocations: 454.7 kB / 486.7 MB, free: 22.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009197/0.08304, allocations: 0.9339 MB / 487.6 MB, free: 21.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.08321, allocations: 61.03 kB / 487.7 MB, free: 21.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.08355, allocations: 254.7 kB / 487.9 MB, free: 21.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.08384, allocations: 254.8 kB / 488.2 MB, free: 21.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.08389, allocations: 12 kB / 488.2 MB, free: 21.31 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004807/0.08438, allocations: 231.8 kB / 488.4 MB, free: 21.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.08443, allocations: 51.64 kB / 488.4 MB, free: 21.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.08463, allocations: 252.4 kB / 488.7 MB, free: 20.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006623/0.0853, allocations: 0.6816 MB / 489.4 MB, free: 20.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.08531, allocations: 0 / 489.4 MB, free: 20.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.08533, allocations: 0 / 489.4 MB, free: 20.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.08534, allocations: 0 / 489.4 MB, free: 20.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001906/0.08725, allocations: 0.8537 MB / 490.2 MB, free: 19.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.0873, allocations: 8.031 kB / 490.2 MB, free: 19.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.08762, allocations: 80.34 kB / 490.3 MB, free: 19.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005497/0.08818, allocations: 408.5 kB / 490.7 MB, free: 18.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.08822, allocations: 29.38 kB / 490.7 MB, free: 18.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.08827, allocations: 31.94 kB / 490.8 MB, free: 18.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.08875, allocations: 364.9 kB / 491.1 MB, free: 18.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.08877, allocations: 3.938 kB / 491.1 MB, free: 18.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.08881, allocations: 19.94 kB / 491.2 MB, free: 18.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.08882, allocations: 8 kB / 491.2 MB, free: 18.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.08923, allocations: 294.4 kB / 491.4 MB, free: 17.9 MB / 330.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.001554/0.09079, allocations: 2.305 MB / 493.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/0.0916, allocations: 448.2 kB / 494.2 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.09177, allocations: 112.8 kB / 494.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.09182, allocations: 7.984 kB / 494.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.09184, allocations: 38.5 kB / 494.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.923e-06/0.09185, allocations: 0 / 494.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.001964/0.09381, allocations: 0.7293 MB / 495.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.09385, allocations: 59.41 kB / 495.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.09411, allocations: 310.8 kB / 495.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.09413, allocations: 33.7 kB / 495.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.09423, allocations: 208.2 kB / 495.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.553e-05/0.0943, allocations: 122.2 kB / 495.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.09432, allocations: 4 kB / 495.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.455e-05/0.09438, allocations: 346.8 kB / 496.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.09452, allocations: 83.97 kB / 496.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.09467, allocations: 132.9 kB / 496.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.09496, allocations: 244.5 kB / 496.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.09497, allocations: 0 / 496.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008836/0.09586, allocations: 457.1 kB / 497 MB, free: 11.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.09589, allocations: 4 kB / 497 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.0959, allocations: 7.984 kB / 497 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.09656, allocations: 148.8 kB / 497.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.09684, allocations: 67.91 kB / 497.3 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.099, allocations: 2.035 MB / 499.3 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.0993, allocations: 15.84 kB / 499.3 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.09933, allocations: 12 kB / 499.3 MB, free: 9.453 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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 {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.0995, allocations: 169.7 kB / 499.5 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.09957, allocations: 43.47 kB / 499.5 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009246/0.1005, allocations: 450.9 kB / 500 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1005, allocations: 4 kB / 500 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1005, allocations: 3.938 kB / 500 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1005, allocations: 0 / 500 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.1019, allocations: 0.9669 MB / 0.4892 GB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1019, allocations: 0 / 0.4892 GB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.1022, allocations: 63.91 kB / 0.4893 GB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005963/0.1028, allocations: 144.7 kB / 0.4894 GB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.1028, allocations: 4 kB / 0.4894 GB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.1048, allocations: 1.999 MB / 0.4914 GB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1048, allocations: 0 / 0.4914 GB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008216/0.1056, allocations: 0.5114 MB / 0.4919 GB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.1058, allocations: 132.7 kB / 0.492 GB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.1058, allocations: 8 kB / 0.492 GB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.106, allocations: 15.84 kB / 0.492 GB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.1061, allocations: 31.95 kB / 0.492 GB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.1061, allocations: 4 kB / 0.492 GB, free: 4.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001824/0.1063, allocations: 223.2 kB / 0.4923 GB, free: 4.438 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1063, allocations: 0 / 0.4923 GB, free: 4.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000486/0.1068, allocations: 143.9 kB / 0.4924 GB, free: 4.297 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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 {(2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002025/0.107, allocations: 159.1 kB / 0.4925 GB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006519/0.1077, allocations: 414.3 kB / 0.4929 GB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1077, allocations: 3.938 kB / 0.4929 GB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.1081, allocations: 314.8 kB / 0.4932 GB, free: 3.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.1085, allocations: 53.91 kB / 0.4933 GB, free: 3.336 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009862/0.1095, allocations: 0.8189 MB / 0.4941 GB, free: 2.488 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.1097, allocations: 0.8081 MB / 0.4949 GB, free: 1.652 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1099, allocations: 39.03 kB / 0.4949 GB, free: 1.613 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.1099, allocations: 31.42 kB / 0.4949 GB, free: 1.582 MB / 330.7 MB Notification: Performance of SimCode: time 4e-07/0.1099, allocations: 0 / 0.4949 GB, free: 1.582 MB / 330.7 MB Notification: Performance of Templates: time 0.009869/0.1198, allocations: 5.347 MB / 0.5002 GB, free: 12.25 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusOneLoad.pipe 2>&1)