Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.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) Running command: translateModel(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 96.97 kB / 15.69 MB, free: 480 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.002222/0.002222, allocations: 176.6 kB / 16.57 MB, free: 6.391 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.688/1.688, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0605/0.0605, allocations: 14.16 MB / 285.2 MB, free: 7.148 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.0005895/0.0005896, allocations: 16 kB / 346.8 MB, free: 19.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1235, allocations: 51.12 MB / 397.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.006951/0.1305, allocations: 5.982 MB / 403.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005718/0.1363, allocations: 3.214 MB / 407.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007328/0.1371, allocations: 19.88 kB / 407.1 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009879/0.1381, allocations: 310.4 kB / 407.4 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003695/0.1418, allocations: 1.35 MB / 408.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009365/0.1427, allocations: 486.4 kB / 409.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002507/0.1453, allocations: 1.317 MB / 410.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.1455, allocations: 126.4 kB / 410.7 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006877/0.1462, allocations: 0.4982 MB / 411.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005745/0.1468, allocations: 0.4942 MB / 411.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.1469, allocations: 24 kB / 411.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008849/0.1478, allocations: 331.7 kB / 412 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1479, allocations: 107.4 kB / 412.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.1481, allocations: 213.3 kB / 412.3 MB, free: 2.254 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.1492, allocations: 1.009 MB / 413.3 MB, free: 1.242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1492, allocations: 0 / 413.3 MB, free: 1.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1492, allocations: 0 / 413.3 MB, free: 1.242 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1492, allocations: 0 / 413.3 MB, free: 1.242 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004598/0.1538, allocations: 1.52 MB / 414.9 MB, free: 15.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1539, allocations: 8.031 kB / 414.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005825/0.1545, allocations: 150.7 kB / 415 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.1556, allocations: 0.6326 MB / 415.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.1556, allocations: 58 kB / 415.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-05/0.1557, allocations: 68 kB / 415.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.1571, allocations: 0.7386 MB / 416.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.1571, allocations: 3.984 kB / 416.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.1572, allocations: 28 kB / 416.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.1572, allocations: 16 kB / 416.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.1584, allocations: 0.73 MB / 417.3 MB, free: 13.18 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.004896/0.1633, allocations: 4.401 MB / 421.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.1652, allocations: 1.166 MB / 422.8 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.606e-05/0.1653, allocations: 16.64 kB / 422.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1653, allocations: 43.22 kB / 422.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=82): time 2.936e-06/0.1653, allocations: 0 / 422.9 MB, free: 6.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=82): time 0.00274/0.168, allocations: 1.249 MB / 424.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1681, allocations: 60.06 kB / 424.2 MB, free: 5.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.1687, allocations: 487 kB / 424.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.1687, allocations: 37.7 kB / 424.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.169, allocations: 352 kB / 425.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.1692, allocations: 287.7 kB / 425.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.1693, allocations: 23.94 kB / 425.4 MB, free: 4.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1695, allocations: 374.8 kB / 425.7 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.1698, allocations: 221.9 kB / 426 MB, free: 3.828 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.1702, allocations: 308.9 kB / 426.3 MB, free: 3.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/0.1707, allocations: 278.9 kB / 426.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1707, allocations: 0 / 426.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001405/0.1721, allocations: 0.845 MB / 427.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1721, allocations: 4 kB / 427.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1721, allocations: 4 kB / 427.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/0.1727, allocations: 180.4 kB / 427.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/0.1735, allocations: 195.9 kB / 427.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2512/0.4247, allocations: 2.365 MB / 430.1 MB, free: 35.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008956/0.4257, allocations: 54.59 kB / 430.2 MB, free: 35.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.4257, allocations: 22.75 kB / 430.2 MB, free: 35.26 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005074/0.4262, allocations: 227.7 kB / 430.4 MB, free: 35.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.4264, allocations: 76.47 kB / 430.5 MB, free: 35.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.428, allocations: 0.8248 MB / 431.3 MB, free: 35.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.428, allocations: 7.781 kB / 431.3 MB, free: 35.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.428, allocations: 2.75 kB / 431.3 MB, free: 35.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.428, allocations: 6.5 kB / 431.3 MB, free: 35.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.4312, allocations: 1.886 MB / 433.2 MB, free: 34.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4312, allocations: 1.125 kB / 433.2 MB, free: 34.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007088/0.4319, allocations: 165.8 kB / 433.4 MB, free: 34.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005228/0.4324, allocations: 181.8 kB / 433.6 MB, free: 34.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.4325, allocations: 11.59 kB / 433.6 MB, free: 34.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.4353, allocations: 2.385 MB / 436 MB, free: 32.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4353, allocations: 0.7031 kB / 436 MB, free: 32.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.4381, allocations: 1.831 MB / 437.8 MB, free: 31.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/0.4384, allocations: 202.4 kB / 438 MB, free: 31.35 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.902e-05/0.4385, allocations: 15.22 kB / 438 MB, free: 31.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.439, allocations: 33.98 kB / 438 MB, free: 31.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.4391, allocations: 52.61 kB / 438.1 MB, free: 31.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.4392, allocations: 17.81 kB / 438.1 MB, free: 31.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005411/0.4397, allocations: 337.6 kB / 438.4 MB, free: 31.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4397, allocations: 0 / 438.4 MB, free: 31.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001542/0.4413, allocations: 280.7 kB / 438.7 MB, free: 31.11 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003956/0.4417, allocations: 174.7 kB / 438.9 MB, free: 31 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.4433, allocations: 0.8151 MB / 439.7 MB, free: 30.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4434, allocations: 2.031 kB / 439.7 MB, free: 30.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008543/0.4442, allocations: 0.532 MB / 440.2 MB, free: 30.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.4448, allocations: 73.22 kB / 440.3 MB, free: 30.31 MB / 318.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: created linear, non-linear and system jacobian parts: time 0.002956/0.4477, allocations: 1.931 MB / 442.2 MB, free: 29.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/0.4485, allocations: 0.976 MB / 443.2 MB, free: 28.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005385/0.4491, allocations: 93.72 kB / 443.3 MB, free: 28.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.4493, allocations: 53.28 kB / 443.3 MB, free: 28.33 MB / 318.1 MB Notification: Performance of SimCode: time 1.683e-06/0.4493, allocations: 0.5625 kB / 443.3 MB, free: 28.33 MB / 318.1 MB Notification: Performance of Templates: time 0.01808/0.4674, allocations: 7.488 MB / 450.8 MB, free: 26.27 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1) Environment - environmentSimulation: