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.001073/0.001073, allocations: 109.4 kB / 16.41 MB, free: 6.457 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.001188/0.001188, allocations: 192.2 kB / 17.35 MB, free: 5.715 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06285/0.06285, 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.001412/0.001412, allocations: 68.62 kB / 399.3 MB, free: 42.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.09596, allocations: 50.13 MB / 449.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01662/0.1126, allocations: 15.96 MB / 465.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.1252, allocations: 6.83 MB / 472.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.1283, allocations: 67.62 kB / 472.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.1312, allocations: 0.8299 MB / 473.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007672/0.1389, allocations: 2.65 MB / 475.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.1425, allocations: 1.531 MB / 477.3 MB, free: 15.56 MB / 366.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2652:11-2652:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.00685/0.1494, allocations: 5.099 MB / 482.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.1508, allocations: 0.7529 MB / 483.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003028/0.1538, allocations: 1.767 MB / 484.9 MB, free: 7.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.1562, allocations: 1.852 MB / 486.8 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004217/0.1566, allocations: 288 kB / 487.1 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.1581, allocations: 0.695 MB / 487.8 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005229/0.1587, allocations: 0.6342 MB / 488.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.1603, allocations: 1.648 MB / 490 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005827/0.1661, allocations: 4.225 MB / 494.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1662, allocations: 0 / 494.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1662, allocations: 0 / 494.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.475e-05/0.1662, 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.01384/0.1801, allocations: 4.177 MB / 498.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.1802, allocations: 8.031 kB / 498.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.1819, allocations: 409 kB / 498.9 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003734/0.1856, allocations: 1.93 MB / 0.489 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.1858, allocations: 172.4 kB / 0.4892 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.1861, allocations: 227.8 kB / 0.4894 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/0.1898, allocations: 2.071 MB / 0.4914 GB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.1898, allocations: 7.938 kB / 0.4915 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.19, allocations: 80 kB / 0.4915 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.19, allocations: 52 kB / 0.4916 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003579/0.1936, allocations: 1.916 MB / 0.4935 GB, free: 3.277 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.0187/0.2123, allocations: 12.22 MB / 0.5054 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/0.2164, allocations: 2.641 MB / 0.508 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.2178, allocations: 0.8144 MB / 0.5088 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.591e-05/0.2179, allocations: 25.98 kB / 0.5088 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.2179, allocations: 56.55 kB / 0.5088 GB, free: 2.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=194): time 4.058e-06/0.218, allocations: 0 / 0.5088 GB, free: 2.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=194): time 0.009648/0.2276, allocations: 3.41 MB / 0.5122 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.2277, allocations: 172.2 kB / 0.5123 GB, free: 14.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/0.2304, allocations: 1.879 MB / 0.5142 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000176/0.2306, allocations: 65.7 kB / 0.5142 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008028/0.2314, allocations: 1.096 MB / 0.5153 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006604/0.2321, allocations: 0.6777 MB / 0.516 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006393/0.2327, allocations: 493.4 kB / 0.5164 GB, free: 10.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.2328, allocations: 305.1 kB / 0.5167 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.2345, allocations: 0.8368 MB / 0.5175 GB, free: 9.242 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.2368, allocations: 1.471 MB / 0.519 GB, free: 7.508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004351/0.2412, allocations: 2.205 MB / 0.5211 GB, free: 5.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.2412, allocations: 8 kB / 0.5211 GB, free: 5.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.009706/0.2509, allocations: 3.779 MB / 0.5248 GB, free: 1.184 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/0.251, allocations: 18.91 kB / 0.5249 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.251, allocations: 12 kB / 0.5249 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2392/0.4903, allocations: 1.817 MB / 0.5266 GB, free: 79.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/0.4927, allocations: 0.5346 MB / 0.5272 GB, free: 79.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02443/0.5172, allocations: 21.36 MB / 0.548 GB, free: 62.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002996/0.5202, allocations: 268.2 kB / 0.5483 GB, free: 62.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/0.5204, allocations: 101.5 kB / 0.5484 GB, free: 62.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002028/0.5225, allocations: 1.075 MB / 0.5494 GB, free: 62.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001589/0.5241, allocations: 1.362 MB / 0.5507 GB, free: 61.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002639/0.5267, allocations: 2.057 MB / 0.5528 GB, free: 59.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.108e-05/0.5267, allocations: 4.188 kB / 0.5528 GB, free: 59.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=343) (initialization_lambda0): time 0.00594/0.5327, allocations: 2.961 MB / 0.5557 GB, free: 58.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5327, allocations: 11.84 kB / 0.5557 GB, free: 58.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.5328, allocations: 15.84 kB / 0.5557 GB, free: 58.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006535/0.5393, allocations: 1.302 MB / 0.5569 GB, free: 58.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/0.5415, allocations: 0.606 MB / 0.5575 GB, free: 58.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.5531, allocations: 16.56 MB / 0.5737 GB, free: 42.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.5556, allocations: 192.5 kB / 0.5739 GB, free: 42.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.5557, allocations: 100.5 kB / 0.574 GB, free: 42.74 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.0005668/0.5563, allocations: 333.9 kB / 0.5743 GB, free: 42.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/0.5566, allocations: 252.1 kB / 0.5746 GB, free: 42.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.5603, allocations: 2.115 MB / 0.5766 GB, free: 41.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.5603, allocations: 10.97 kB / 0.5766 GB, free: 41.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5603, allocations: 0 / 0.5766 GB, free: 41.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006786/0.561, allocations: 0.505 MB / 0.5771 GB, free: 40.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/0.5613, allocations: 39.22 kB / 0.5772 GB, free: 40.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.5627, allocations: 66.52 kB / 0.5772 GB, free: 40.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.5629, allocations: 152.8 kB / 0.5774 GB, free: 40.75 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004645/0.5676, allocations: 2.092 MB / 0.5794 GB, free: 39.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02025/0.5878, allocations: 12.82 MB / 0.5919 GB, free: 26.28 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001134/0.589, allocations: 0.6988 MB / 0.5926 GB, free: 25.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001486/0.5905, allocations: 1.211 MB / 0.5938 GB, free: 24.36 MB / 414.1 MB Notification: Performance of Backend: time 2.074e-06/0.5905, allocations: 4 kB / 0.5938 GB, free: 24.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0126/0.6031, allocations: 7.017 MB / 0.6007 GB, free: 17.11 MB / 414.1 MB Notification: Performance of SimCode: time 0.01269/0.6159, allocations: 7.54 MB / 0.608 GB, free: 9.547 MB / 414.1 MB Notification: Performance of Templates: time 0.09371/0.7096, allocations: 54.5 MB / 0.6612 GB, free: 3.129 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)