Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") translateModel(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 183.1 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 221.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 97.94 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06315/0.06315, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 51.91 kB / 394.4 MB, free: 62.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08171/0.08279, allocations: 50.13 MB / 444.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow): time 0.2665/0.3494, allocations: 108.4 MB / 0.54 GB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.06/0.4094, allocations: 38.02 MB / 0.5771 GB, free: 12.87 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02433/0.4338, allocations: 338.8 kB / 0.5774 GB, free: 12.54 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01928/0.4532, allocations: 4.841 MB / 0.5822 GB, free: 7.676 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05905/0.5122, allocations: 14.53 MB / 0.5963 GB, free: 9.172 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008749/0.521, allocations: 1.826 MB / 0.5981 GB, free: 7.344 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.04877/0.5698, allocations: 35.24 MB / 0.6325 GB, free: 3.965 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006083/0.5759, allocations: 2.226 MB / 0.6347 GB, free: 1.664 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0164/0.5924, allocations: 9.086 MB / 0.6436 GB, free: 8.531 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3864/0.9787, allocations: 10.01 MB / 0.6534 GB, free: 18.99 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007588/0.9864, allocations: 0.5325 MB / 0.6539 GB, free: 18.99 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01367/1, allocations: 1.822 MB / 0.6557 GB, free: 18.99 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.005963/1.006, allocations: 2.147 MB / 0.6578 GB, free: 18.99 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02188/1.028, allocations: 8.958 MB / 0.6665 GB, free: 18.99 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03227/1.06, allocations: 20.91 MB / 0.6869 GB, free: 15.97 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.06, allocations: 0 / 0.6869 GB, free: 15.97 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.593e-06/1.06, allocations: 2.062 kB / 0.6869 GB, free: 15.97 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0008079/1.061, allocations: 2.781 kB / 0.6869 GB, free: 15.97 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3510 * Number of variables: 3510 Notification: Performance of Generate backend data structure: time 0.08808/1.149, allocations: 24.54 MB / 0.7109 GB, free: 8.707 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.149, allocations: 7.656 kB / 0.7109 GB, free: 8.707 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/1.163, allocations: 2.728 MB / 0.7136 GB, free: 7.531 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02392/1.187, allocations: 9.307 MB / 0.7227 GB, free: 3.422 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001439/1.189, allocations: 1.065 MB / 0.7237 GB, free: 3.328 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004009/1.193, allocations: 1.299 MB / 0.725 GB, free: 3.328 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03214/1.225, allocations: 13.51 MB / 0.7382 GB, free: 15.93 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005547/1.225, allocations: 18.44 kB / 0.7382 GB, free: 15.93 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002536/1.228, allocations: 0.5475 MB / 0.7387 GB, free: 15.9 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002591/1.228, allocations: 337.2 kB / 0.739 GB, free: 15.9 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0318/1.26, allocations: 13.72 MB / 0.7524 GB, free: 3.844 MB / 474.8 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.1213/1.381, allocations: 86.05 MB / 0.8365 GB, free: 5.281 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3207/1.702, allocations: 26.57 MB / 0.8624 GB, free: 223 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01267/1.715, allocations: 6.381 MB / 0.8686 GB, free: 220.8 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/1.716, allocations: 190.5 kB / 0.8688 GB, free: 220.8 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01034/1.727, allocations: 6.179 MB / 0.8749 GB, free: 218.1 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=1464): time 2.329e-05/1.727, allocations: 0 / 0.8749 GB, free: 218.1 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1464): time 0.03311/1.76, allocations: 17.96 MB / 0.8924 GB, free: 211.5 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002378/1.76, allocations: 0.7483 MB / 0.8931 GB, free: 210.7 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01144/1.771, allocations: 8.302 MB / 0.9012 GB, free: 208 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001833/1.773, allocations: 258.8 kB / 0.9015 GB, free: 207.8 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.004199/1.778, allocations: 6.365 MB / 0.9077 GB, free: 203.9 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.005279/1.783, allocations: 5.005 MB / 0.9126 GB, free: 200 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003629/1.786, allocations: 2.584 MB / 0.9151 GB, free: 198.7 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.132e-05/1.786, allocations: 301.1 kB / 0.9154 GB, free: 198.4 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006232/1.793, allocations: 4.208 MB / 0.9195 GB, free: 194.8 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008199/1.801, allocations: 7.83 MB / 0.9272 GB, free: 186.2 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02098/1.822, allocations: 13.35 MB / 0.9402 GB, free: 171.7 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.434e-05/1.822, allocations: 28 kB / 0.9402 GB, free: 171.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2078) (initialization): time 0.03264/1.855, allocations: 17.76 MB / 0.9576 GB, free: 155.4 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.855, allocations: 165.1 kB / 0.9577 GB, free: 155.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/1.855, allocations: 104 kB / 0.9578 GB, free: 155.1 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02632/1.881, allocations: 5.806 MB / 0.9635 GB, free: 150.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01379/1.895, allocations: 3.632 MB / 0.967 GB, free: 146.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05892/1.954, allocations: 30.07 MB / 0.9964 GB, free: 116.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01535/1.97, allocations: 1.282 MB / 0.9977 GB, free: 115 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002768/1.972, allocations: 0.6029 MB / 0.9982 GB, free: 114.4 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 467 * Number of states: 0 () * Number of discrete variables: 20 (Tgen2.breakerStatusInInternal,L1to5.breakerStatusInternalB,L1to5.breakerStatusInternalA,$PRE.Tgen2.breakerStatusInInternal,$PRE.L1to5.breakerStatusInternalB,$PRE.L1to5.breakerStatusInternalA,Tgen2.breakerStatus,$PRE.Tgen2.breakerStatus,L1to5.breakerStatus,$PRE.L1to5.breakerStatus,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1720): * Single equations (assignments): 1714 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(338,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.009038/1.981, allocations: 2.437 MB / 1.001 GB, free: 111.9 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005103/1.987, allocations: 1.417 MB / 1.002 GB, free: 110.5 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03253/2.019, allocations: 14.94 MB / 1.017 GB, free: 95.48 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000284/2.019, allocations: 67.73 kB / 1.017 GB, free: 95.41 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/2.019, allocations: 4 kB / 1.017 GB, free: 95.41 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007759/2.027, allocations: 2.361 MB / 1.019 GB, free: 93.01 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003208/2.03, allocations: 244 kB / 1.019 GB, free: 92.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01081/2.041, allocations: 0.5473 MB / 1.02 GB, free: 92.22 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00236/2.044, allocations: 1.107 MB / 1.021 GB, free: 91.11 MB / 0.5574 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03729/2.081, allocations: 15.09 MB / 1.036 GB, free: 76.24 MB / 0.5574 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "algorithm L1to5.breakerStatus := pre(L1to5.breakerStatus); $whenCondition8 := pre($whenCondition8); $whenCondition7 := pre($whenCondition7); $whenCondition6 := pre($whenCondition6); $whenCondition5 := pre($whenCondition5); $whenCondition4 := pre($whenCondition4); $whenCondition3 := pre($whenCondition3); $whenCondition2 := pre($whenCondition2); $whenCondition1 := pre($whenCondition1); $whenCondition1 := L1to5.breakerStatus == L1to5.BreakersState.AcBc and not L1to5.breakerStatusInternalB; $whenCondition2 := L1to5.breakerStatus == L1to5.BreakersState.AcBc and not L1to5.breakerStatusInternalA; $whenCondition3 := L1to5.breakerStatus == L1to5.BreakersState.AcBo and not L1to5.breakerStatusInternalA; $whenCondition4 := L1to5.breakerStatus == L1to5.BreakersState.AoBc and not L1to5.breakerStatusInternalB; $whenCondition5 := L1to5.breakerStatus == L1to5.BreakersState.AoBo and L1to5.breakerStatusInternalA; $whenCondition6 := L1to5.breakerStatus == L1to5.BreakersState.AoBo and L1to5.breakerStatusInternalB; $whenCondition7 := L1to5.breakerStatus == L1to5.BreakersState.AcBo and L1to5.breakerStatusInternalB; $whenCondition8 := L1to5.breakerStatus == L1to5.BreakersState.AoBc and L1to5.breakerStatusInternalA; when $whenCondition1 then L1to5.breakerStatus := L1to5.BreakersState.AcBo; elsewhen $whenCondition2 then L1to5.breakerStatus := L1to5.BreakersState.AoBc; elsewhen $whenCondition3 then L1to5.breakerStatus := L1to5.BreakersState.AoBo; elsewhen $whenCondition4 then L1to5.breakerStatus := L1to5.BreakersState.AoBo; elsewhen $whenCondition5 then L1to5.breakerStatus := L1to5.BreakersState.AcBo; elsewhen $whenCondition6 then L1to5.breakerStatus := L1to5.BreakersState.AoBc; elsewhen $whenCondition7 then L1to5.breakerStatus := L1to5.BreakersState.AcBc; elsewhen $whenCondition8 then L1to5.breakerStatus := L1to5.BreakersState.AcBc; end when; " w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Warning: The optimization module SymbolicJacobian.symbolicJacobianDAE failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04433/2.125, allocations: 24.9 MB / 1.06 GB, free: 51.21 MB / 0.5574 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007245/2.133, allocations: 4.375 MB / 1.064 GB, free: 46.82 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.008894/2.142, allocations: 5.228 MB / 1.069 GB, free: 41.66 MB / 0.5574 GB Notification: Performance of Backend: time 8.42e-07/2.142, allocations: 0 / 1.069 GB, free: 41.66 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.2561/2.398, allocations: 14.56 MB / 1.083 GB, free: 223.3 MB / 0.5574 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.04428/2.442, allocations: 29.43 MB / 1.112 GB, free: 208 MB / 0.5574 GB Notification: Performance of Templates: time 0.2684/2.71, allocations: 175.7 MB / 1.284 GB, free: 57.93 MB / 0.5574 GB make -j1 -f PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.makefile make -j1 -f PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PowerGrids_PowerGrids_Examples_IEEE14bus_IEEE14busPowerFlow -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.o PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.c PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.c:193:4: error: use of undeclared identifier 'PowerGrids_PowerGrids_Examples_IEEE14bus_IEEE14busPowerFlow_INDEX_JAC_A' PowerGrids_PowerGrids_Examples_IEEE14bus_IEEE14busPowerFlow_INDEX_JAC_A, ^ 1 error generated. make: *** [: PowerGrids_PowerGrids.Examples.IEEE14bus.IEEE14busPowerFlow.o] Error 1