Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.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.TestOneBusTransmissionLineWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad") translateModel(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 96.27 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.001004/0.001004, allocations: 180.4 kB / 16.58 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.659/1.659, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06965/0.06965, 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.000548/0.0005481, allocations: 16 kB / 346.8 MB, free: 19.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1136, allocations: 51.11 MB / 397.9 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.0059/0.1195, allocations: 6.11 MB / 404 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005546/0.1251, allocations: 3.288 MB / 407.3 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005782/0.1257, allocations: 19.94 kB / 407.3 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008586/0.1266, allocations: 310.4 kB / 407.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.1302, allocations: 1.494 MB / 409.1 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.1311, allocations: 406.3 kB / 409.5 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002869/0.134, allocations: 1.457 MB / 410.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.1343, allocations: 114.5 kB / 411.1 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008498/0.1351, allocations: 0.5566 MB / 411.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005906/0.1357, allocations: 0.5137 MB / 412.1 MB, free: 2.465 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.735e-05/0.1358, allocations: 28 kB / 412.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008274/0.1366, allocations: 319.6 kB / 412.5 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1368, allocations: 111.4 kB / 412.6 MB, free: 2.016 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.137, allocations: 221.2 kB / 412.8 MB, free: 1.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.138, allocations: 1.025 MB / 413.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.138, allocations: 0 / 413.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1381, allocations: 0 / 413.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1381, allocations: 0 / 413.8 MB, free: 0.7656 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004325/0.1424, allocations: 1.558 MB / 415.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1424, allocations: 12.02 kB / 415.4 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.1431, allocations: 158.7 kB / 415.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.1442, allocations: 0.6599 MB / 416.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.1443, allocations: 99.69 kB / 416.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.1444, allocations: 79.94 kB / 416.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.1457, allocations: 0.8021 MB / 417.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1457, allocations: 3.984 kB / 417.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/0.1458, allocations: 32 kB / 417.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.1458, allocations: 20 kB / 417.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.147, allocations: 0.765 MB / 418 MB, free: 12.43 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.004992/0.152, allocations: 4.918 MB / 422.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.1537, allocations: 0.9706 MB / 423.9 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.54e-05/0.1538, allocations: 9 kB / 423.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008213/0.1546, allocations: 0.6415 MB / 424.5 MB, free: 5.258 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 4.389e-06/0.1546, allocations: 3.938 kB / 424.5 MB, free: 5.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=92): time 0.004902/0.1595, allocations: 1.861 MB / 426.4 MB, free: 3.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/0.1597, allocations: 303.7 kB / 426.7 MB, free: 2.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/0.1604, allocations: 0.4991 MB / 427.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/0.1605, allocations: 41.7 kB / 427.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.1608, allocations: 360.3 kB / 427.6 MB, free: 2.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.1611, allocations: 303.6 kB / 427.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.1612, allocations: 20 kB / 427.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.1614, allocations: 382.8 kB / 428.3 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.1619, allocations: 237.9 kB / 428.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.1624, allocations: 375.8 kB / 428.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/0.1629, allocations: 342.3 kB / 429.2 MB, free: 376 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.163, allocations: 4 kB / 429.2 MB, free: 372 kB / 318.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.2059/0.3688, allocations: 1.101 MB / 430.3 MB, free: 25.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.832e-05/0.369, allocations: 73.3 kB / 430.4 MB, free: 25.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.369, allocations: 2.969 kB / 430.4 MB, free: 25.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.3701, allocations: 293.2 kB / 430.7 MB, free: 25.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.3708, allocations: 166.3 kB / 430.8 MB, free: 25.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005007/0.3758, allocations: 3.1 MB / 433.9 MB, free: 24.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008155/0.3767, allocations: 60.25 kB / 434 MB, free: 24.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.3767, allocations: 28.12 kB / 434 MB, free: 24.43 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 14 (transmissionLine.breakerStatusInternalB,transmissionLine.breakerStatusInternalA,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.transmissionLine.breakerStatus,transmissionLine.breakerStatus,$PRE.transmissionLine.breakerStatusInternalA,$PRE.transmissionLine.breakerStatusInternalB) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0005102/0.3773, allocations: 281.3 kB / 434.3 MB, free: 24.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.3774, allocations: 90.94 kB / 434.4 MB, free: 24.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.3796, allocations: 1.083 MB / 435.5 MB, free: 24.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.3796, allocations: 8.688 kB / 435.5 MB, free: 24.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.3796, allocations: 0 / 435.5 MB, free: 24.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.3797, allocations: 5.219 kB / 435.5 MB, free: 24.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/0.3831, allocations: 2.079 MB / 437.6 MB, free: 23.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.3831, allocations: 5.562 kB / 437.6 MB, free: 23.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/0.3837, allocations: 139.4 kB / 437.7 MB, free: 23.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.3848, allocations: 293.5 kB / 438 MB, free: 23.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/0.3848, allocations: 28.53 kB / 438 MB, free: 23.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004598/0.3894, allocations: 3.038 MB / 441.1 MB, free: 22.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3895, allocations: 0 / 441.1 MB, free: 22.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/0.3929, allocations: 2.137 MB / 443.2 MB, free: 21.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.3932, allocations: 223.2 kB / 443.4 MB, free: 21.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3933, allocations: 29.16 kB / 443.4 MB, free: 21.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.3938, allocations: 35.27 kB / 443.5 MB, free: 21.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.394, allocations: 74.83 kB / 443.6 MB, free: 21.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.394, allocations: 22.3 kB / 443.6 MB, free: 21.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004851/0.3945, allocations: 343.3 kB / 443.9 MB, free: 21.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3945, allocations: 0 / 443.9 MB, free: 21.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001751/0.3963, allocations: 332.2 kB / 444.2 MB, free: 21.17 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: 9 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,transmissionLine.breakerStatus) * Number of discrete states: 9 (transmissionLine.breakerStatus,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003421/0.3966, allocations: 189 kB / 444.4 MB, free: 21.07 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 initialization part: time 0.002095/0.3987, allocations: 1.159 MB / 445.6 MB, free: 20.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3987, allocations: 0 / 445.6 MB, free: 20.78 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 simulation system equations: time 0.001188/0.3999, allocations: 0.8221 MB / 446.4 MB, free: 20.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.4004, allocations: 77.25 kB / 446.5 MB, free: 20.56 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.002889/0.4034, allocations: 2.087 MB / 448.6 MB, free: 19.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/0.4039, allocations: 1.005 MB / 449.6 MB, free: 18.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.4044, allocations: 94.36 kB / 449.7 MB, free: 18.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.4045, allocations: 46.31 kB / 449.7 MB, free: 18.76 MB / 318.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4045, allocations: 1.625 kB / 449.7 MB, free: 18.76 MB / 318.1 MB Notification: Performance of Templates: time 0.01692/0.4215, allocations: 10.56 MB / 460.3 MB, free: 13.37 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.makefile Environment - environmentSimulation: (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe 2>&1) Environment - environmentSimulation: