Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.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.OneBusImpedanceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001167, allocations: 176.5 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.364/1.364, allocations: 225.7 MB / 241.9 MB, free: 14.67 MB / 202.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.000791/0.0007911, allocations: 92.14 kB / 293 MB, free: 4.859 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.06226/0.06226, allocations: 14.37 MB / 358.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002946, allocations: 8.562 kB / 423.2 MB, free: 97.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07886/0.07918, allocations: 53.95 MB / 477.2 MB, free: 58.22 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceOneLoad): time 0.002851/0.08207, allocations: 3.732 MB / 480.9 MB, free: 54.47 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.08481, allocations: 3.176 MB / 484.1 MB, free: 51.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.08516, allocations: 11.94 kB / 484.1 MB, free: 51.05 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005447/0.08572, allocations: 211.1 kB / 484.3 MB, free: 50.85 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.08778, allocations: 1.925 MB / 486.2 MB, free: 48.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.08821, allocations: 462.7 kB / 486.7 MB, free: 48.19 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009522/0.08918, allocations: 0.9339 MB / 487.6 MB, free: 47.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.08932, allocations: 57.06 kB / 487.7 MB, free: 47.2 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.08963, allocations: 258.7 kB / 487.9 MB, free: 46.94 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.08991, allocations: 254.8 kB / 488.2 MB, free: 46.69 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.08996, allocations: 12 kB / 488.2 MB, free: 46.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.09043, allocations: 227.8 kB / 488.4 MB, free: 46.46 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.09049, allocations: 59.64 kB / 488.5 MB, free: 46.4 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.09068, allocations: 268.3 kB / 488.7 MB, free: 46.13 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006439/0.09134, allocations: 0.6822 MB / 489.4 MB, free: 45.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.09135, allocations: 0 / 489.4 MB, free: 45.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09136, allocations: 0 / 489.4 MB, free: 45.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.09138, allocations: 0 / 489.4 MB, free: 45.45 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001862/0.09324, allocations: 0.8576 MB / 490.3 MB, free: 44.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.09329, allocations: 8.031 kB / 490.3 MB, free: 44.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.09361, allocations: 76.34 kB / 490.3 MB, free: 44.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.09419, allocations: 412.5 kB / 490.7 MB, free: 44.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.09423, allocations: 25.38 kB / 490.8 MB, free: 43.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.09427, allocations: 31.94 kB / 490.8 MB, free: 43.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.09475, allocations: 354.4 kB / 491.1 MB, free: 43.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.09477, allocations: 0 / 491.1 MB, free: 43.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.0948, allocations: 12 kB / 491.2 MB, free: 43.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.09482, allocations: 12 kB / 491.2 MB, free: 43.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.09525, allocations: 306.4 kB / 491.5 MB, free: 43.27 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.001517/0.09677, allocations: 2.132 MB / 493.6 MB, free: 40.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008051/0.09759, allocations: 0.5373 MB / 494.1 MB, free: 40.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.09776, allocations: 124.8 kB / 494.3 MB, free: 40.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.0978, allocations: 8.094 kB / 494.3 MB, free: 40.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.09782, allocations: 42.5 kB / 494.3 MB, free: 40.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=37): time 1.483e-06/0.09783, allocations: 0 / 494.3 MB, free: 40.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=37): time 0.001951/0.09979, allocations: 0.7499 MB / 495.1 MB, free: 39.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.987e-05/0.09982, allocations: 55.41 kB / 495.1 MB, free: 39.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.1001, allocations: 300.6 kB / 495.4 MB, free: 38.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1001, allocations: 33.7 kB / 495.4 MB, free: 38.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/0.1002, allocations: 196.5 kB / 495.6 MB, free: 38.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.1003, allocations: 126.1 kB / 495.8 MB, free: 38.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.1003, allocations: 11.94 kB / 495.8 MB, free: 38.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.1003, allocations: 342.8 kB / 496.1 MB, free: 38.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1005, allocations: 92.56 kB / 496.2 MB, free: 38.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.1006, allocations: 115.3 kB / 496.3 MB, free: 38.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.1009, allocations: 234.2 kB / 496.5 MB, free: 37.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1009, allocations: 0 / 496.5 MB, free: 37.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008586/0.1018, allocations: 441.6 kB / 497 MB, free: 37.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1018, allocations: 4 kB / 497 MB, free: 37.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1018, allocations: 0 / 497 MB, free: 37.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006936/0.1025, allocations: 164.6 kB / 497.1 MB, free: 37.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.1028, allocations: 71.91 kB / 497.2 MB, free: 37.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.1051, allocations: 2.048 MB / 499.2 MB, free: 34.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.1054, allocations: 23.89 kB / 499.3 MB, free: 34.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.1054, allocations: 15.94 kB / 499.3 MB, free: 34.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.1056, allocations: 157.8 kB / 499.4 MB, free: 34.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.1056, allocations: 47.45 kB / 499.5 MB, free: 34.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009165/0.1066, allocations: 461.6 kB / 499.9 MB, free: 34.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1066, allocations: 4 kB / 499.9 MB, free: 34.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.1066, allocations: 4 kB / 499.9 MB, free: 34.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1066, allocations: 7.938 kB / 500 MB, free: 34.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.1079, allocations: 1.056 MB / 0.4893 GB, free: 33.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1079, allocations: 0 / 0.4893 GB, free: 33.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.1082, allocations: 55.97 kB / 0.4893 GB, free: 32.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006111/0.1088, allocations: 156.6 kB / 0.4895 GB, free: 32.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.1088, allocations: 8 kB / 0.4895 GB, free: 32.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.1108, allocations: 2.003 MB / 0.4914 GB, free: 30.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1109, allocations: 4.141 kB / 0.4914 GB, free: 30.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00083/0.1117, allocations: 0.5306 MB / 0.492 GB, free: 30.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.1118, allocations: 144.5 kB / 0.4921 GB, free: 29.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.1119, allocations: 8 kB / 0.4921 GB, free: 29.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.1121, allocations: 11.91 kB / 0.4921 GB, free: 29.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.1122, allocations: 31.95 kB / 0.4921 GB, free: 29.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1122, allocations: 8 kB / 0.4921 GB, free: 29.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.1124, allocations: 211.1 kB / 0.4923 GB, free: 29.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1124, allocations: 0 / 0.4923 GB, free: 29.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004575/0.1129, allocations: 143.9 kB / 0.4925 GB, free: 29.57 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/0.113, allocations: 151.8 kB / 0.4926 GB, free: 29.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007353/0.1138, allocations: 458 kB / 0.4931 GB, free: 28.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1138, allocations: 0 / 0.4931 GB, free: 28.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.1143, allocations: 362.1 kB / 0.4934 GB, free: 28.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.1148, allocations: 53.86 kB / 0.4935 GB, free: 28.54 MB / 346.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.0009681/0.1157, allocations: 0.8443 MB / 0.4943 GB, free: 27.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.1159, allocations: 0.8082 MB / 0.4951 GB, free: 26.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.1161, allocations: 34.95 kB / 0.4951 GB, free: 26.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.1162, allocations: 27.44 kB / 0.4951 GB, free: 26.77 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1162, allocations: 0 / 0.4951 GB, free: 26.77 MB / 346.7 MB Notification: Performance of Templates: time 0.008925/0.1251, allocations: 5.378 MB / 0.5004 GB, free: 21.4 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.sim & ./PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceOneLoad.pipe 2>&1)