Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 176.4 kB / 15.43 MB, free: 6.207 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.366/1.366, allocations: 225.7 MB / 241.9 MB, free: 424 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.0008031/0.000803, allocations: 96.44 kB / 293.1 MB, free: 12.92 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.0593/0.0593, allocations: 14.37 MB / 358.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 8 kB / 426 MB, free: 83.37 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07861/0.07893, allocations: 53.96 MB / 479.9 MB, free: 30.09 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow): time 0.00572/0.08468, allocations: 9.324 MB / 489.3 MB, free: 20.72 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00502/0.08973, allocations: 5.349 MB / 494.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007964/0.09055, allocations: 31.88 kB / 494.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009583/0.09152, allocations: 489.8 kB / 495.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.09517, allocations: 2.882 MB / 498 MB, free: 11.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000834/0.09602, allocations: 0.9234 MB / 498.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002371/0.0984, allocations: 3.035 MB / 0.4902 GB, free: 7.418 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.09867, allocations: 172.2 kB / 0.4904 GB, free: 7.238 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007125/0.09939, allocations: 0.7773 MB / 0.4911 GB, free: 6.457 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006175/0.1, allocations: 0.8204 MB / 0.4919 GB, free: 5.633 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.132e-05/0.1001, allocations: 40 kB / 0.492 GB, free: 5.594 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008276/0.1009, allocations: 379.7 kB / 0.4923 GB, free: 5.223 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1011, allocations: 178.8 kB / 0.4925 GB, free: 5.047 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004963/0.1016, allocations: 0.7632 MB / 0.4932 GB, free: 4.273 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.1029, allocations: 1.896 MB / 0.4951 GB, free: 2.371 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1029, allocations: 0 / 0.4951 GB, free: 2.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1029, allocations: 3.938 kB / 0.4951 GB, free: 2.367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1029, allocations: 0 / 0.4951 GB, free: 2.367 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.005056/0.108, allocations: 2.022 MB / 0.4971 GB, free: 296 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.108, allocations: 11.97 kB / 0.4971 GB, free: 284 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008437/0.1089, allocations: 247.1 kB / 0.4973 GB, free: 36 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.1103, allocations: 0.9452 MB / 0.4982 GB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.1104, allocations: 82.56 kB / 0.4983 GB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.1105, allocations: 104.4 kB / 0.4984 GB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.1122, allocations: 1.072 MB / 0.4995 GB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.1122, allocations: 0 / 0.4995 GB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.552e-05/0.1123, allocations: 48 kB / 0.4995 GB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.1123, allocations: 24 kB / 0.4995 GB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.114, allocations: 1.047 MB / 0.5006 GB, free: 12.61 MB / 346.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.006871/0.1208, allocations: 7.528 MB / 0.5079 GB, free: 4.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.1225, allocations: 1.102 MB / 0.509 GB, free: 2.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004354/0.1229, allocations: 322.1 kB / 0.5093 GB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.473e-05/0.123, allocations: 9 kB / 0.5093 GB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.123, allocations: 39.56 kB / 0.5093 GB, free: 2.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=88): time 2.956e-06/0.123, allocations: 4 kB / 0.5093 GB, free: 2.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.002871/0.1259, allocations: 1.354 MB / 0.5107 GB, free: 1.152 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.126, allocations: 60.41 kB / 0.5107 GB, free: 1.082 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.127, allocations: 0.9325 MB / 0.5116 GB, free: 136 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.1271, allocations: 37.7 kB / 0.5117 GB, free: 92 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004479/0.1275, allocations: 0.6499 MB / 0.5123 GB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.1278, allocations: 315.5 kB / 0.5126 GB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.1278, allocations: 28 kB / 0.5126 GB, free: 15.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.128, allocations: 353.9 kB / 0.513 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.1285, allocations: 319.8 kB / 0.5133 GB, free: 14.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007351/0.1292, allocations: 0.7117 MB / 0.514 GB, free: 13.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.1305, allocations: 1.095 MB / 0.515 GB, free: 12.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/0.1305, allocations: 4 kB / 0.515 GB, free: 12.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002221/0.1328, allocations: 1.349 MB / 0.5164 GB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.1328, allocations: 8 kB / 0.5164 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.1328, allocations: 16 kB / 0.5164 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/0.1343, allocations: 293.6 kB / 0.5167 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.1354, allocations: 303.5 kB / 0.5169 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/0.1392, allocations: 3.491 MB / 0.5204 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.1402, allocations: 122.9 kB / 0.5205 GB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.3e-05/0.1403, allocations: 56 kB / 0.5205 GB, free: 6.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (157): * Single equations (assignments): 155 * 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): 1 system {(2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0004405/0.1407, allocations: 313.3 kB / 0.5208 GB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.1409, allocations: 126.5 kB / 0.5209 GB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.1424, allocations: 0.8869 MB / 0.5218 GB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.1425, allocations: 3.984 kB / 0.5218 GB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1425, allocations: 0 / 0.5218 GB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.1428, allocations: 259.5 kB / 0.5221 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.143, allocations: 19.94 kB / 0.5221 GB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.1435, allocations: 31.78 kB / 0.5221 GB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/0.1436, allocations: 64.91 kB / 0.5222 GB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001827/0.1454, allocations: 0.8897 MB / 0.523 GB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001418/0.1468, allocations: 1.158 MB / 0.5242 GB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003497/0.1472, allocations: 263.9 kB / 0.5244 GB, free: 2.262 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007021/0.1479, allocations: 0.5976 MB / 0.525 GB, free: 1.656 MB / 362.7 MB Notification: Performance of Backend: time 2.71e-07/0.1479, allocations: 0 / 0.525 GB, free: 1.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002461/0.1504, allocations: 1.28 MB / 0.5263 GB, free: 356 kB / 362.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.1639/0.3143, allocations: 2.863 MB / 0.5291 GB, free: 59.08 MB / 362.7 MB Notification: Performance of Templates: time 0.02452/0.3388, allocations: 14.31 MB / 0.543 GB, free: 55.41 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow -abortSlowSimulation -alarm=480 -nls=kinsol -lv=LOG_INIT_HOMOTOPY -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.GridOperation.Static.PowerFlow.pipe 2>&1)