Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.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.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 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) Ignoring simflag -noemit -homotopyOnFirstTry=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals") translateModel(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001502, allocations: 95.64 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002707/0.002707, allocations: 178.8 kB / 16.57 MB, free: 6.125 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.661/1.661, allocations: 205.4 MB / 222.7 MB, free: 5.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06166/0.06166, allocations: 14.16 MB / 285.2 MB, free: 7.156 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.0005988/0.0005989, allocations: 12 kB / 349.5 MB, free: 17.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1305, allocations: 51.12 MB / 400.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals): time 0.01232/0.1428, allocations: 10.42 MB / 411 MB, free: 3.586 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.1532, allocations: 5.106 MB / 416.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/0.1553, allocations: 31.88 kB / 416.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.1575, allocations: 477.3 kB / 416.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006552/0.164, allocations: 2.018 MB / 418.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.1661, allocations: 0.7314 MB / 419.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005024/0.1711, allocations: 2.625 MB / 422 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006195/0.1718, allocations: 230.1 kB / 422.2 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.1738, allocations: 1.004 MB / 423.2 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.1758, allocations: 1.047 MB / 424.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003817/0.1762, allocations: 68 kB / 424.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.1779, allocations: 431.5 kB / 424.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004055/0.1783, allocations: 258.8 kB / 425 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008582/0.1792, allocations: 392.8 kB / 425.4 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.1819, allocations: 1.897 MB / 427.3 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1819, allocations: 3.938 kB / 427.3 MB, free: 3.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1819, allocations: 3.938 kB / 427.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.444e-05/0.182, allocations: 0 / 427.3 MB, free: 3.254 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.009322/0.1913, allocations: 2.752 MB / 430 MB, free: 444 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1913, allocations: 12.02 kB / 430.1 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.1931, allocations: 313.5 kB / 430.4 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2109/0.404, allocations: 1.09 MB / 431.4 MB, free: 35.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.4042, allocations: 112.6 kB / 431.6 MB, free: 35.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/0.4044, allocations: 147.3 kB / 431.7 MB, free: 35.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.4072, allocations: 1.322 MB / 433 MB, free: 35.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/0.4073, allocations: 6.047 kB / 433 MB, free: 35.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.4074, allocations: 54.22 kB / 433.1 MB, free: 35.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.4074, allocations: 32.23 kB / 433.1 MB, free: 35.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/0.4099, allocations: 1.364 MB / 434.5 MB, free: 34.87 MB / 318.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.01136/0.4213, allocations: 8.596 MB / 443.1 MB, free: 27.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/0.4241, allocations: 2.227 MB / 445.3 MB, free: 26.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.74e-05/0.4242, allocations: 21.84 kB / 445.3 MB, free: 26.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/0.4255, allocations: 0.7627 MB / 446.1 MB, free: 25.9 MB / 318.1 MB Notification: Performance of pre-optimization done (n=162): time 3.927e-06/0.4255, allocations: 0 / 446.1 MB, free: 25.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=163): time 0.01267/0.4382, allocations: 5.049 MB / 451.1 MB, free: 23.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.4383, allocations: 234.1 kB / 451.4 MB, free: 23.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.4396, allocations: 1.021 MB / 452.4 MB, free: 22.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.4398, allocations: 66.11 kB / 452.4 MB, free: 22.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.4402, allocations: 0.6258 MB / 453.1 MB, free: 21.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005036/0.4407, allocations: 0.5594 MB / 453.6 MB, free: 21.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/0.4408, allocations: 49.56 kB / 453.7 MB, free: 21.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4409, allocations: 378.5 kB / 454.1 MB, free: 20.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009149/0.4419, allocations: 0.5939 MB / 454.6 MB, free: 20.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.4429, allocations: 0.9388 MB / 455.6 MB, free: 19.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.444, allocations: 0.7886 MB / 456.4 MB, free: 19.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.444, allocations: 4 kB / 456.4 MB, free: 19.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=266) (initialization): time 0.004057/0.448, allocations: 2.41 MB / 458.8 MB, free: 18.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.4481, allocations: 63.3 kB / 458.8 MB, free: 18.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.4481, allocations: 13.94 kB / 458.9 MB, free: 18.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0058/0.4539, allocations: 1.181 MB / 460 MB, free: 17.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.456, allocations: 498.1 kB / 460.5 MB, free: 17.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009421/0.4654, allocations: 12.59 MB / 473.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/0.4677, allocations: 112.2 kB / 473.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.4679, allocations: 75.98 kB / 473.3 MB, free: 4.09 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition4,$PRE.NTHV.fault,NTHV.fault,$whenCondition1,$whenCondition2,$PRE.NTHV.Y.re,NTHV.Y.re,$PRE.NTHV.Y.im,NTHV.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 225 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 0,(2,100.0%) 0,(2,100.0%) 0} * Non-linear torn systems: 5 {23 0,2 0,2 0,2 0,2 0} Notification: Performance of prepare postOptimizeDAE: time 0.0009045/0.4688, allocations: 424.7 kB / 473.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/0.4691, allocations: 162.1 kB / 473.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.4722, allocations: 1.85 MB / 475.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.4722, allocations: 7.969 kB / 475.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4722, allocations: 0.875 kB / 475.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/0.4728, allocations: 335 kB / 476.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.473, allocations: 36.56 kB / 476.1 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007647/0.4738, allocations: 67.67 kB / 476.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.474, allocations: 125.1 kB / 476.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004116/0.4781, allocations: 1.973 MB / 478.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003156/0.4813, allocations: 2.093 MB / 480.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007518/0.4821, allocations: 0.5139 MB / 480.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009526/0.483, allocations: 0.6487 MB / 481.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of Backend: time 5.71e-07/0.483, allocations: 0 / 481.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005573/0.4886, allocations: 2.765 MB / 484.3 MB, free: 8.91 MB / 334.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of SimCode: time 0.005666/0.4943, allocations: 4.191 MB / 488.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of Templates: time 0.04331/0.5376, allocations: 21.7 MB / 0.4982 GB, free: 15.01 MB / 366.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals -nls=kinsol -lv=LOG_INIT_HOMOTOPY -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.LoadChange.LoadChangeByInputSignals.pipe 2>&1) Environment - environmentSimulation: