Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 108.5 kB / 16.41 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 192.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06766/0.06766, allocations: 14.16 MB / 284.7 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 65.41 kB / 399.3 MB, free: 42.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07888/0.08032, allocations: 50.14 MB / 449.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01614/0.09651, allocations: 15.97 MB / 465.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.1099, allocations: 6.834 MB / 472.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003069/0.113, allocations: 75.62 kB / 472.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002994/0.116, allocations: 0.826 MB / 473.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00803/0.1241, allocations: 2.646 MB / 475.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004047/0.1282, allocations: 1.539 MB / 477.3 MB, free: 15.56 MB / 366.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2647:11-2647:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.007731/0.1359, allocations: 5.083 MB / 482.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.1377, allocations: 0.7529 MB / 483.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.1408, allocations: 1.779 MB / 484.9 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003188/0.144, allocations: 1.848 MB / 486.8 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.1452, allocations: 288 kB / 487.1 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.1475, allocations: 0.6989 MB / 487.8 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009246/0.1485, allocations: 0.6303 MB / 488.4 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002859/0.1513, allocations: 1.636 MB / 490 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007436/0.1588, allocations: 4.242 MB / 494.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1589, allocations: 0 / 494.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1589, allocations: 0 / 494.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001674/0.159, allocations: 0 / 494.3 MB, free: 14.52 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 507 * Number of variables: 507 Notification: Performance of Generate backend data structure: time 0.01564/0.1747, allocations: 4.271 MB / 498.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.1748, allocations: 8.031 kB / 498.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.1771, allocations: 430.8 kB / 499 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005519/0.1827, allocations: 1.955 MB / 0.4892 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.1829, allocations: 168.3 kB / 0.4894 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007694/0.1837, allocations: 223.9 kB / 0.4896 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006152/0.1899, allocations: 2.074 MB / 0.4916 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.841e-05/0.19, allocations: 3.938 kB / 0.4916 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004447/0.1905, allocations: 84 kB / 0.4917 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/0.1905, allocations: 48 kB / 0.4917 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004629/0.1952, allocations: 1.916 MB / 0.4936 GB, free: 3.145 MB / 382.1 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.02359/0.2188, allocations: 12.23 MB / 0.5055 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004632/0.2235, allocations: 2.649 MB / 0.5081 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.2252, allocations: 0.8105 MB / 0.5089 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.2254, allocations: 29.98 kB / 0.5089 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.642e-05/0.2255, allocations: 52.56 kB / 0.509 GB, free: 2.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 7.064e-06/0.2255, allocations: 4 kB / 0.509 GB, free: 2.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.01347/0.239, allocations: 3.419 MB / 0.5123 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.2392, allocations: 176.2 kB / 0.5125 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004066/0.2432, allocations: 1.884 MB / 0.5143 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004874/0.2438, allocations: 69.7 kB / 0.5144 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001145/0.2449, allocations: 1.114 MB / 0.5155 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001154/0.2461, allocations: 0.7164 MB / 0.5162 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.2475, allocations: 485.6 kB / 0.5167 GB, free: 10.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2476, allocations: 309.1 kB / 0.517 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.2496, allocations: 0.8407 MB / 0.5178 GB, free: 9.023 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/0.252, allocations: 1.467 MB / 0.5192 GB, free: 7.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003993/0.256, allocations: 2.212 MB / 0.5214 GB, free: 4.832 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/0.2561, allocations: 4 kB / 0.5214 GB, free: 4.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.01133/0.2674, allocations: 3.788 MB / 0.5251 GB, free: 0.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.2675, allocations: 12.94 kB / 0.5251 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/0.2675, allocations: 20 kB / 0.5251 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2103/0.4779, allocations: 1.809 MB / 0.5269 GB, free: 78.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/0.4807, allocations: 0.5338 MB / 0.5274 GB, free: 78.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02574/0.5065, allocations: 21.38 MB / 0.5483 GB, free: 62.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/0.5096, allocations: 278.2 kB / 0.5485 GB, free: 62.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000474/0.5101, allocations: 103.1 kB / 0.5486 GB, free: 62.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002743/0.5128, allocations: 1.076 MB / 0.5497 GB, free: 62.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00188/0.5147, allocations: 1.36 MB / 0.551 GB, free: 61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003014/0.5178, allocations: 2.05 MB / 0.553 GB, free: 59.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-05/0.5178, allocations: 4.531 kB / 0.553 GB, free: 59.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.006877/0.5247, allocations: 2.981 MB / 0.5559 GB, free: 58.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.5248, allocations: 15.81 kB / 0.5559 GB, free: 58.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.5248, allocations: 15.88 kB / 0.556 GB, free: 58.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00674/0.5315, allocations: 1.301 MB / 0.5572 GB, free: 58.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/0.5342, allocations: 0.6034 MB / 0.5578 GB, free: 58.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.5463, allocations: 16.58 MB / 0.574 GB, free: 42.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0027/0.5491, allocations: 196.5 kB / 0.5742 GB, free: 42.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003684/0.5495, allocations: 101.7 kB / 0.5743 GB, free: 42.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 5 (PSS.firstWashoutVsi2.integrator.local_reset,PSS.secondWashoutVsi1.integrator.local_reset,PSS.firstWashoutVsi1.integrator.local_reset,AVR.firstOrderLim.I.local_reset,TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(38,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0008314/0.5503, allocations: 334 kB / 0.5746 GB, free: 42.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009265/0.5513, allocations: 258 kB / 0.5749 GB, free: 42.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004383/0.5556, allocations: 2.115 MB / 0.5769 GB, free: 41.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/0.5557, allocations: 11.95 kB / 0.5769 GB, free: 41.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5557, allocations: 4 kB / 0.5769 GB, free: 41.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.557, allocations: 0.508 MB / 0.5774 GB, free: 40.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006127/0.5576, allocations: 35.16 kB / 0.5775 GB, free: 40.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/0.5594, allocations: 76.64 kB / 0.5775 GB, free: 40.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.5597, allocations: 151.9 kB / 0.5777 GB, free: 40.45 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005233/0.5649, allocations: 2.097 MB / 0.5797 GB, free: 38.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02223/0.5872, allocations: 12.89 MB / 0.5923 GB, free: 25.71 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001101/0.5883, allocations: 0.6949 MB / 0.593 GB, free: 25.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001536/0.5899, allocations: 1.214 MB / 0.5942 GB, free: 23.79 MB / 414.1 MB Notification: Performance of Backend: time 6.51e-07/0.5899, allocations: 0 / 0.5942 GB, free: 23.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01256/0.6024, allocations: 7.045 MB / 0.6011 GB, free: 16.52 MB / 414.1 MB Notification: Performance of SimCode: time 0.01012/0.6126, allocations: 7.659 MB / 0.6085 GB, free: 8.805 MB / 414.1 MB Notification: Performance of Templates: time 0.08955/0.7022, allocations: 54.52 MB / 0.6618 GB, free: 2.371 MB / 462.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.pipe 2>&1)