Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad") translateModel(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009222/0.0009224, allocations: 177.8 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 225.7 MB / 241.9 MB, free: 188 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007916/0.0007915, allocations: 100.3 kB / 293.1 MB, free: 12.84 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06367/0.06367, allocations: 14.39 MB / 358.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002886, allocations: 10.45 kB / 423.2 MB, free: 85.85 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08025/0.08056, allocations: 53.97 MB / 477.2 MB, free: 32.8 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad): time 0.004752/0.08536, allocations: 6.693 MB / 483.9 MB, free: 26.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004364/0.08976, allocations: 4.513 MB / 488.4 MB, free: 21.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008927/0.09069, allocations: 23.94 kB / 488.4 MB, free: 21.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.09173, allocations: 374.4 kB / 488.8 MB, free: 20.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.09523, allocations: 2.818 MB / 491.6 MB, free: 17.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008383/0.09608, allocations: 0.8844 MB / 492.5 MB, free: 16.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.09804, allocations: 2.039 MB / 494.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.09829, allocations: 118.3 kB / 494.6 MB, free: 14.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007264/0.09902, allocations: 0.5365 MB / 495.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006819/0.09971, allocations: 0.5639 MB / 495.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.09986, allocations: 31.98 kB / 495.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000873/0.1007, allocations: 335.7 kB / 496.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1009, allocations: 115.2 kB / 496.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005672/0.1014, allocations: 0.534 MB / 496.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.103, allocations: 1.324 MB / 498.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.103, allocations: 0 / 498.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1031, allocations: 0 / 498.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.769e-05/0.1031, allocations: 0 / 498.1 MB, free: 11.15 MB / 330.7 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.004121/0.1072, allocations: 1.555 MB / 499.6 MB, free: 9.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1073, allocations: 12.02 kB / 499.6 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007182/0.108, allocations: 159.7 kB / 499.8 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.1092, allocations: 0.6801 MB / 0.4887 GB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.1094, allocations: 99.83 kB / 0.4888 GB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.1095, allocations: 76 kB / 0.4889 GB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.1106, allocations: 0.8177 MB / 0.4897 GB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.1107, allocations: 0 / 0.4897 GB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.007e-05/0.1107, allocations: 32 kB / 0.4897 GB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1108, allocations: 20 kB / 0.4898 GB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.1119, allocations: 0.7611 MB / 0.4905 GB, free: 6.793 MB / 330.7 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.003738/0.1156, allocations: 4.934 MB / 0.4953 GB, free: 1.328 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.117, allocations: 0.9454 MB / 0.4962 GB, free: 356 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/0.1174, allocations: 334.4 kB / 0.4966 GB, free: 24 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/0.1175, allocations: 9 kB / 0.4966 GB, free: 12 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008887/0.1184, allocations: 0.6499 MB / 0.4972 GB, free: 15.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 2.575e-06/0.1184, allocations: 0 / 0.4972 GB, free: 15.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=92): time 0.004864/0.1233, allocations: 1.807 MB / 0.499 GB, free: 13.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.1234, allocations: 307.7 kB / 0.4993 GB, free: 13.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005886/0.124, allocations: 495.2 kB / 0.4997 GB, free: 12.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.1241, allocations: 45.7 kB / 0.4998 GB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.1244, allocations: 368.2 kB / 0.5001 GB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.1247, allocations: 307.5 kB / 0.5004 GB, free: 11.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.1247, allocations: 16 kB / 0.5004 GB, free: 11.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1249, allocations: 382.8 kB / 0.5008 GB, free: 11.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.1253, allocations: 237.9 kB / 0.501 GB, free: 11.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.1258, allocations: 375.8 kB / 0.5014 GB, free: 10.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/0.1268, allocations: 0.7359 MB / 0.5021 GB, free: 10.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1268, allocations: 4 kB / 0.5021 GB, free: 10.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002073/0.1289, allocations: 1.106 MB / 0.5032 GB, free: 8.898 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.129, allocations: 67.39 kB / 0.5033 GB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.129, allocations: 4 kB / 0.5033 GB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.13, allocations: 297.3 kB / 0.5035 GB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.1307, allocations: 171.7 kB / 0.5037 GB, free: 8.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/0.135, allocations: 3.016 MB / 0.5066 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.1356, allocations: 55.53 kB / 0.5067 GB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.1357, allocations: 32 kB / 0.5067 GB, free: 5.121 MB / 346.7 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0003831/0.1361, allocations: 279.7 kB / 0.507 GB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.1363, allocations: 90.98 kB / 0.5071 GB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.1383, allocations: 1.086 MB / 0.5081 GB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1384, allocations: 8 kB / 0.5082 GB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1384, allocations: 3.938 kB / 0.5082 GB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.1384, allocations: 3.984 kB / 0.5082 GB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/0.1416, allocations: 2.072 MB / 0.5102 GB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1416, allocations: 0 / 0.5102 GB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005948/0.1422, allocations: 143.8 kB / 0.5103 GB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009624/0.1432, allocations: 282.7 kB / 0.5106 GB, free: 1.047 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/0.1433, allocations: 23.98 kB / 0.5106 GB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004143/0.1474, allocations: 2.957 MB / 0.5135 GB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1474, allocations: 4 kB / 0.5135 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.1496, allocations: 1.146 MB / 0.5146 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.1501, allocations: 220 kB / 0.5148 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.1503, allocations: 16 kB / 0.5149 GB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/0.1507, allocations: 39.83 kB / 0.5149 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.1509, allocations: 72.84 kB / 0.515 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.1509, allocations: 24 kB / 0.515 GB, free: 12.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004246/0.1514, allocations: 346.8 kB / 0.5153 GB, free: 12.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1514, allocations: 0 / 0.5153 GB, free: 12.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009688/0.1524, allocations: 331.7 kB / 0.5156 GB, free: 11.71 MB / 362.7 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003424/0.1527, allocations: 205.5 kB / 0.5158 GB, free: 11.5 MB / 362.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.001947/0.1547, allocations: 1.146 MB / 0.5169 GB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1547, allocations: 0 / 0.5169 GB, free: 10.33 MB / 362.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.001198/0.1559, allocations: 0.8268 MB / 0.5178 GB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.1566, allocations: 102.3 kB / 0.5178 GB, free: 9.379 MB / 362.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.1592, allocations: 1.761 MB / 0.5196 GB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.1598, allocations: 0.9668 MB / 0.5205 GB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004851/0.1603, allocations: 101.7 kB / 0.5206 GB, free: 6.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.1604, allocations: 43.44 kB / 0.5206 GB, free: 6.449 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1604, allocations: 0 / 0.5206 GB, free: 6.449 MB / 362.7 MB Notification: Performance of Templates: time 0.1822/0.3427, allocations: 10.82 MB / 0.5312 GB, free: 60.17 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestOneBusTransmissionLineWithBreakersOneLoad.pipe 2>&1)