Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01009/0.01009, allocations: 88.58 kB / 15.04 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.00112/0.00112, allocations: 170.2 kB / 15.92 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.033/2.033, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.266/2.266, allocations: 252.8 MB / 0.511 GB, free: 8.379 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006192/0.0006194, allocations: 12.75 kB / 0.6243 GB, free: 28.22 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2507, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.01069/0.2615, allocations: 3.71 MB / 0.7317 GB, free: 6.438 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.008485/0.27, allocations: 2.933 MB / 0.7346 GB, free: 3.496 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.2706, allocations: 7.938 kB / 0.7346 GB, free: 3.488 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.2717, allocations: 159.2 kB / 0.7347 GB, free: 3.332 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.2736, allocations: 287.1 kB / 0.735 GB, free: 3.051 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.2749, allocations: 175.5 kB / 0.7352 GB, free: 2.879 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.2762, allocations: 343.3 kB / 0.7355 GB, free: 2.543 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.2786, allocations: 0.7313 MB / 0.7362 GB, free: 1.777 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005113/0.2791, allocations: 163.4 kB / 0.7364 GB, free: 1.617 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005533/0.2797, allocations: 179.3 kB / 0.7365 GB, free: 1.441 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.2798, allocations: 20 kB / 0.7366 GB, free: 1.422 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.2809, allocations: 231.7 kB / 0.7368 GB, free: 1.195 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.2812, allocations: 123.7 kB / 0.7369 GB, free: 1.074 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.2814, allocations: 109.4 kB / 0.737 GB, free: 0.9609 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.2829, allocations: 0.6549 MB / 0.7376 GB, free: 312 kB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2829, allocations: 0 / 0.7376 GB, free: 312 kB / 0.5574 GB Notification: Performance of FrontEnd: time 5.33e-06/0.283, allocations: 3.984 kB / 0.7376 GB, free: 308 kB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.283, allocations: 0 / 0.7376 GB, free: 308 kB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002298/0.2853, allocations: 0.7207 MB / 0.7383 GB, free: 15.53 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.2854, allocations: 12.03 kB / 0.7384 GB, free: 15.52 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.2856, allocations: 66.53 kB / 0.7384 GB, free: 15.45 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007093/0.2927, allocations: 0.7014 MB / 0.7391 GB, free: 14.74 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.2945, allocations: 482.6 kB / 0.7396 GB, free: 14.23 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/0.2946, allocations: 24.59 kB / 0.7396 GB, free: 14.2 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.2948, allocations: 31.95 kB / 0.7396 GB, free: 14.17 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003793/0.2986, allocations: 0.7825 MB / 0.7404 GB, free: 13.36 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.2987, allocations: 4 kB / 0.7404 GB, free: 13.36 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.2988, allocations: 15.98 kB / 0.7404 GB, free: 13.34 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002829/0.2991, allocations: 52.59 kB / 0.7405 GB, free: 13.29 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00488/0.304, allocations: 0.8765 MB / 0.7413 GB, free: 12.41 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00872/0.3128, allocations: 2.859 MB / 0.7441 GB, free: 9.332 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/0.3168, allocations: 0.5214 MB / 0.7446 GB, free: 8.801 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.317, allocations: 93.09 kB / 0.7447 GB, free: 8.691 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.3171, allocations: 30.56 kB / 0.7447 GB, free: 8.652 MB / 0.573 GB Notification: Performance of pre-optimization done (n=16): time 3.687e-06/0.3171, allocations: 0 / 0.7447 GB, free: 8.652 MB / 0.573 GB Notification: Performance of matching and sorting (n=24): time 0.02856/0.3457, allocations: 3.212 MB / 0.7479 GB, free: 5.406 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.3458, allocations: 81.11 kB / 0.7479 GB, free: 5.309 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.3469, allocations: 417.6 kB / 0.7483 GB, free: 4.895 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.347, allocations: 29.7 kB / 0.7484 GB, free: 4.859 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.3474, allocations: 239.7 kB / 0.7486 GB, free: 4.617 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.3476, allocations: 86.81 kB / 0.7487 GB, free: 4.531 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.3477, allocations: 4 kB / 0.7487 GB, free: 4.527 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.3479, allocations: 346.8 kB / 0.749 GB, free: 4.18 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/0.3501, allocations: 367.5 kB / 0.7494 GB, free: 3.82 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00231/0.3525, allocations: 441.3 kB / 0.7498 GB, free: 3.355 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.3547, allocations: 389.9 kB / 0.7502 GB, free: 2.977 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3548, allocations: 0 / 0.7502 GB, free: 2.977 MB / 0.573 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.01016/0.365, allocations: 1.549 MB / 0.7517 GB, free: 1.418 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003723/0.3654, allocations: 0.7901 MB / 0.7524 GB, free: 0.5664 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3654, allocations: 0 / 0.7524 GB, free: 0.5664 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007252/0.3727, allocations: 0.852 MB / 0.7533 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.3739, allocations: 143.7 kB / 0.7534 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.386, allocations: 4.78 MB / 0.7581 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.3874, allocations: 123.9 kB / 0.7582 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/0.3875, allocations: 15.98 kB / 0.7582 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3876, allocations: 4 kB / 0.7582 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007697/0.3953, allocations: 1.258 MB / 0.7594 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3953, allocations: 4 kB / 0.7594 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004774/0.4001, allocations: 0.551 MB / 0.76 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.4013, allocations: 147.8 kB / 0.7601 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006308/0.4077, allocations: 2.569 MB / 0.7626 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.409, allocations: 115.8 kB / 0.7627 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.991e-05/0.4091, allocations: 8 kB / 0.7628 GB, free: 5.594 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005562/0.4097, allocations: 334 kB / 0.7631 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.4098, allocations: 35.53 kB / 0.7631 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008385/0.4182, allocations: 1.415 MB / 0.7645 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.4182, allocations: 4 kB / 0.7645 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4183, allocations: 0 / 0.7645 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.4183, allocations: 0 / 0.7645 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009673/0.428, allocations: 2.09 MB / 0.7665 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.428, allocations: 4 kB / 0.7665 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/0.4288, allocations: 95.92 kB / 0.7666 GB, free: 1.523 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00642/0.4352, allocations: 0.7934 MB / 0.7674 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/0.4353, allocations: 4 kB / 0.7674 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.4466, allocations: 4.606 MB / 0.7719 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.4467, allocations: 0 / 0.7719 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/0.4596, allocations: 1.474 MB / 0.7733 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006046/0.4603, allocations: 168.6 kB / 0.7735 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.4605, allocations: 11.94 kB / 0.7735 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.462, allocations: 99.84 kB / 0.7736 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002549/0.4623, allocations: 27.92 kB / 0.7736 GB, free: 10 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.4623, allocations: 7.984 kB / 0.7736 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007502/0.4631, allocations: 311.1 kB / 0.7739 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.21e-07/0.4631, allocations: 0 / 0.7739 GB, free: 9.691 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001601/0.4647, allocations: 204 kB / 0.7741 GB, free: 9.492 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00887/0.4736, allocations: 2.249 MB / 0.7763 GB, free: 7.191 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006353/0.48, allocations: 1.627 MB / 0.7779 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.4801, allocations: 4.125 kB / 0.7779 GB, free: 5.523 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002108/0.4822, allocations: 0.6651 MB / 0.7786 GB, free: 4.832 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000862/0.4831, allocations: 127.9 kB / 0.7787 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/0.5009, allocations: 5.402 MB / 0.784 GB, free: 15.2 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/0.5017, allocations: 0.9171 MB / 0.7849 GB, free: 14.25 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.000931/0.5027, allocations: 155.2 kB / 0.785 GB, free: 14.1 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.5031, allocations: 135.4 kB / 0.7851 GB, free: 13.97 MB / 0.6199 GB Notification: Performance of SimCode: time 9.62e-07/0.5031, allocations: 0 / 0.7851 GB, free: 13.97 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05077/0.5538, allocations: 15.88 MB / 0.8007 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003513/0.5543, allocations: 223.9 kB / 0.8009 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.914/3.468, allocations: 0 / 0.8009 GB, free: 14.07 MB / 0.6355 GB