Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.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.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") translateModel(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 181.2 kB / 15.43 MB, free: 5.773 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.331/1.331, allocations: 225.7 MB / 241.9 MB, free: 400 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.0008886/0.0008887, allocations: 94.38 kB / 293.1 MB, free: 12.91 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.06245/0.06245, allocations: 14.38 MB / 358.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004253, allocations: 8 kB / 423.2 MB, free: 85.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.0881, allocations: 53.96 MB / 477.2 MB, free: 32.85 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault): time 0.007641/0.09579, allocations: 12.66 MB / 489.8 MB, free: 20.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007064/0.1029, allocations: 6.775 MB / 496.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.1046, allocations: 35.88 kB / 496.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.1062, allocations: 0.6572 MB / 497.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005257/0.1114, allocations: 3.388 MB / 0.489 GB, free: 8.746 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.1128, allocations: 1.218 MB / 0.4901 GB, free: 7.379 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003897/0.1167, allocations: 4.203 MB / 0.4942 GB, free: 3.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/0.1172, allocations: 283.9 kB / 0.4945 GB, free: 2.859 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.1185, allocations: 1.018 MB / 0.4955 GB, free: 1.836 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.1197, allocations: 1.112 MB / 0.4966 GB, free: 0.7188 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.1198, allocations: 60 kB / 0.4967 GB, free: 0.6602 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.121, allocations: 463.7 kB / 0.4971 GB, free: 212 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.1212, allocations: 250.4 kB / 0.4973 GB, free: 15.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.1224, allocations: 1.086 MB / 0.4984 GB, free: 14.86 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003304/0.1258, allocations: 2.819 MB / 0.5011 GB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1258, allocations: 0 / 0.5011 GB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1258, allocations: 0 / 0.5011 GB, free: 12.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.766e-05/0.1258, allocations: 0 / 0.5011 GB, free: 12.04 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.008691/0.1345, allocations: 2.827 MB / 0.5039 GB, free: 9.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1346, allocations: 11.97 kB / 0.5039 GB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.1362, allocations: 350.1 kB / 0.5043 GB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/0.1388, allocations: 1.329 MB / 0.5056 GB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.1389, allocations: 119.1 kB / 0.5057 GB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.1391, allocations: 152 kB / 0.5058 GB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/0.1419, allocations: 1.778 MB / 0.5075 GB, free: 5.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.142, allocations: 7.938 kB / 0.5076 GB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.1421, allocations: 72 kB / 0.5076 GB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/0.1422, allocations: 44 kB / 0.5077 GB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.1447, allocations: 1.49 MB / 0.5091 GB, free: 3.566 MB / 346.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.0112/0.1559, allocations: 12.07 MB / 0.5209 GB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.1586, allocations: 1.859 MB / 0.5227 GB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009444/0.1596, allocations: 0.621 MB / 0.5233 GB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.164e-05/0.1597, allocations: 21.3 kB / 0.5234 GB, free: 3.836 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.1607, allocations: 0.7294 MB / 0.5241 GB, free: 3.074 MB / 362.7 MB Notification: Performance of pre-optimization done (n=151): time 3.557e-06/0.1608, allocations: 0 / 0.5241 GB, free: 3.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=151): time 0.006405/0.1672, allocations: 2.665 MB / 0.5267 GB, free: 376 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.1673, allocations: 226.9 kB / 0.5269 GB, free: 100 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1593/0.3266, allocations: 1.113 MB / 0.528 GB, free: 60.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002369/0.3269, allocations: 53.97 kB / 0.528 GB, free: 60.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007185/0.3276, allocations: 0.7896 MB / 0.5288 GB, free: 60.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006218/0.3283, allocations: 0.5101 MB / 0.5293 GB, free: 60.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.3284, allocations: 38.53 kB / 0.5293 GB, free: 60.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3285, allocations: 373.8 kB / 0.5297 GB, free: 60.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009487/0.3295, allocations: 494.4 kB / 0.5302 GB, free: 60.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009934/0.3305, allocations: 0.9642 MB / 0.5311 GB, free: 59.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.3324, allocations: 1.68 MB / 0.5327 GB, free: 58.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.3324, allocations: 3.906 kB / 0.5327 GB, free: 58.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.00343/0.3358, allocations: 2.051 MB / 0.5347 GB, free: 57.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.771e-05/0.3359, allocations: 69.34 kB / 0.5348 GB, free: 57.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.3359, allocations: 16.36 kB / 0.5348 GB, free: 57.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.3371, allocations: 394.7 kB / 0.5352 GB, free: 57.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.3387, allocations: 418.5 kB / 0.5356 GB, free: 57.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/0.3436, allocations: 3.669 MB / 0.5392 GB, free: 55.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.3454, allocations: 159.4 kB / 0.5393 GB, free: 54.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.3456, allocations: 78.06 kB / 0.5394 GB, free: 54.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition4,$PRE.transmissionLine.busFault.fault,transmissionLine.busFault.fault,$whenCondition1,$whenCondition2,$PRE.transmissionLine.busFault.Y.re,transmissionLine.busFault.Y.re,$PRE.transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.im) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 197 * 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): 1 system {(5,27,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008155/0.3464, allocations: 485.5 kB / 0.5399 GB, free: 54.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.3468, allocations: 167.5 kB / 0.54 GB, free: 54.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/0.3498, allocations: 1.691 MB / 0.5417 GB, free: 53.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.3498, allocations: 17.8 kB / 0.5417 GB, free: 53.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.3498, allocations: 4.344 kB / 0.5417 GB, free: 53.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.3498, allocations: 8.656 kB / 0.5417 GB, free: 53.62 MB / 362.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 postOpt removeSimpleEquations (simulation): time 0.005564/0.3554, allocations: 3.587 MB / 0.5452 GB, free: 51.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3554, allocations: 0.5625 kB / 0.5452 GB, free: 51.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.3567, allocations: 271.9 kB / 0.5455 GB, free: 51.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00104/0.3578, allocations: 354.8 kB / 0.5458 GB, free: 51.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.3579, allocations: 32.73 kB / 0.5459 GB, free: 51.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004602/0.3625, allocations: 3.629 MB / 0.5494 GB, free: 49.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3625, allocations: 0.75 kB / 0.5494 GB, free: 49.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003039/0.3656, allocations: 1.729 MB / 0.5511 GB, free: 48.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007696/0.3664, allocations: 373.7 kB / 0.5514 GB, free: 47.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/0.3667, allocations: 28.56 kB / 0.5515 GB, free: 47.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.3678, allocations: 60.23 kB / 0.5515 GB, free: 47.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.368, allocations: 97.05 kB / 0.5516 GB, free: 47.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.3681, allocations: 38.56 kB / 0.5517 GB, free: 47.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001086/0.3692, allocations: 0.7313 MB / 0.5524 GB, free: 47.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3692, allocations: 0 / 0.5524 GB, free: 47.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001945/0.3712, allocations: 0.5894 MB / 0.5529 GB, free: 47.4 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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,transmissionLine.busFault.Y.re,transmissionLine.busFault.Y.im,transmissionLine.busFault.fault) * Number of discrete states: 7 ($whenCondition4,transmissionLine.busFault.Y.im,transmissionLine.busFault.Y.re,$whenCondition3,transmissionLine.busFault.fault,$whenCondition2,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * 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): 1 system {(5,27,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004199/0.3716, allocations: 246.3 kB / 0.5532 GB, free: 47.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003047/0.3746, allocations: 1.774 MB / 0.5549 GB, free: 46.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3747, allocations: 3.938 kB / 0.5549 GB, free: 46.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.3764, allocations: 1.066 MB / 0.556 GB, free: 45.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.3777, allocations: 170.1 kB / 0.5561 GB, free: 45.7 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.00509/0.3829, allocations: 3.474 MB / 0.5595 GB, free: 43.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009057/0.3838, allocations: 1.252 MB / 0.5607 GB, free: 42.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001121/0.3849, allocations: 210.2 kB / 0.5609 GB, free: 42.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.3852, allocations: 94.12 kB / 0.561 GB, free: 42.79 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3852, allocations: 3.812 kB / 0.561 GB, free: 42.79 MB / 362.7 MB Notification: Performance of Templates: time 0.02597/0.4112, allocations: 16.57 MB / 0.5772 GB, free: 28.22 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.sim & ./PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TwoBusesResistiveTransmissionLineFault.pipe 2>&1)