Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",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.01032/0.01033, allocations: 89.17 kB / 15.04 MB, free: 5.582 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.001161/0.001161, allocations: 171.8 kB / 15.92 MB, free: 5.555 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.158/2.158, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.395/2.395, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006431/0.0006433, allocations: 11.06 kB / 0.6243 GB, free: 20.98 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2399, allocations: 106.2 MB / 0.7281 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.0191/0.2591, allocations: 10.44 MB / 0.7383 GB, free: 13.62 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01255/0.2717, allocations: 5.155 MB / 0.7433 GB, free: 8.457 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.273, allocations: 27.88 kB / 0.7433 GB, free: 8.43 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.2747, allocations: 322.2 kB / 0.7436 GB, free: 8.113 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.2775, allocations: 0.5568 MB / 0.7442 GB, free: 7.555 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.2805, allocations: 0.6003 MB / 0.7448 GB, free: 6.953 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003073/0.2836, allocations: 1.197 MB / 0.7459 GB, free: 5.754 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008618/0.2922, allocations: 3.854 MB / 0.7497 GB, free: 1.84 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.2939, allocations: 0.6425 MB / 0.7503 GB, free: 1.195 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.2958, allocations: 0.7436 MB / 0.7511 GB, free: 460 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000475/0.2964, allocations: 107.9 kB / 0.7512 GB, free: 352 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.2979, allocations: 315.7 kB / 0.7515 GB, free: 36 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.2994, allocations: 0.686 MB / 0.7521 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008045/0.3002, allocations: 364.9 kB / 0.7525 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.005402/0.3056, allocations: 3.246 MB / 0.7556 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3057, allocations: 0 / 0.7556 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.547e-06/0.3057, allocations: 0 / 0.7556 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001085/0.3058, allocations: 0 / 0.7556 GB, free: 11.73 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006367/0.3122, allocations: 1.776 MB / 0.7574 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.3123, allocations: 8.031 kB / 0.7574 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001058/0.3134, allocations: 264.7 kB / 0.7576 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005591/0.319, allocations: 0.7665 MB / 0.7584 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004082/0.3231, allocations: 1.227 MB / 0.7596 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.3233, allocations: 119.2 kB / 0.7597 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006647/0.324, allocations: 159.9 kB / 0.7599 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008608/0.3326, allocations: 2.932 MB / 0.7627 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.793e-05/0.3328, allocations: 0 / 0.7627 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/0.3331, allocations: 67.98 kB / 0.7628 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007421/0.3339, allocations: 207 kB / 0.763 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008439/0.3424, allocations: 2.503 MB / 0.7654 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02124/0.3637, allocations: 10.89 MB / 0.7761 GB, free: 5.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.3658, allocations: 0.9159 MB / 0.777 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.3661, allocations: 89.47 kB / 0.777 GB, free: 4.684 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.3661, allocations: 38.94 kB / 0.7771 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 4.949e-06/0.3662, allocations: 3.984 kB / 0.7771 GB, free: 4.633 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.05197/0.4181, allocations: 8.973 MB / 0.7858 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.709e-05/0.4183, allocations: 89.67 kB / 0.7859 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.4203, allocations: 0.9376 MB / 0.7868 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.4205, allocations: 37.7 kB / 0.7869 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007151/0.4212, allocations: 0.7775 MB / 0.7876 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.4216, allocations: 248.5 kB / 0.7879 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.4217, allocations: 20 kB / 0.7879 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002413/0.422, allocations: 394.8 kB / 0.7883 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.4241, allocations: 0.8028 MB / 0.7891 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.4265, allocations: 1.156 MB / 0.7902 GB, free: 6.918 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/0.429, allocations: 0.9868 MB / 0.7911 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.4291, allocations: 11.89 kB / 0.7912 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01834/0.4474, allocations: 3.783 MB / 0.7949 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001704/0.4492, allocations: 4.273 MB / 0.799 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/0.4492, allocations: 8 kB / 0.799 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0161/0.4653, allocations: 2.161 MB / 0.8011 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.4671, allocations: 223.6 kB / 0.8014 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02893/0.496, allocations: 10.66 MB / 0.8118 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/0.4985, allocations: 199.6 kB / 0.812 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.4987, allocations: 48.14 kB / 0.812 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.4987, allocations: 4 kB / 0.812 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01446/0.5132, allocations: 3.076 MB / 0.815 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-05/0.5133, allocations: 12 kB / 0.815 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/0.5237, allocations: 1.37 MB / 0.8164 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.5258, allocations: 283.5 kB / 0.8166 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02211/0.548, allocations: 6.382 MB / 0.8229 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/0.5515, allocations: 171.7 kB / 0.823 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.5519, allocations: 44 kB / 0.8231 GB, free: 4.473 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.003463/0.5554, allocations: 0.8986 MB / 0.8239 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/0.5558, allocations: 94.95 kB / 0.824 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/0.5721, allocations: 3.328 MB / 0.8273 GB, free: 128 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/0.5722, allocations: 8 kB / 0.8273 GB, free: 120 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.5722, allocations: 4 kB / 0.8273 GB, free: 116 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-05/0.5723, allocations: 3.984 kB / 0.8273 GB, free: 112 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6152/1.188, allocations: 5.478 MB / 0.8327 GB, free: 93.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.901e-05/1.188, allocations: 3.312 kB / 0.8327 GB, free: 93.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.189, allocations: 103.5 kB / 0.8328 GB, free: 93.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02041/1.209, allocations: 1.978 MB / 0.8347 GB, free: 93.01 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/1.21, allocations: 13.56 kB / 0.8347 GB, free: 93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0325/1.242, allocations: 10.06 MB / 0.8445 GB, free: 87.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/1.242, allocations: 8.188 kB / 0.8445 GB, free: 87.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/1.258, allocations: 3.293 MB / 0.8477 GB, free: 86.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.259, allocations: 331.8 kB / 0.8481 GB, free: 86.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/1.259, allocations: 13.88 kB / 0.8481 GB, free: 86.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.261, allocations: 155.4 kB / 0.8482 GB, free: 86.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005258/1.262, allocations: 70.19 kB / 0.8483 GB, free: 86.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.262, allocations: 22.62 kB / 0.8483 GB, free: 86.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001637/1.263, allocations: 0.669 MB / 0.849 GB, free: 86.11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.263, allocations: 0.5 kB / 0.849 GB, free: 86.11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003938/1.267, allocations: 0.6776 MB / 0.8496 GB, free: 86.06 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 40 * 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 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01638/1.284, allocations: 4.446 MB / 0.854 GB, free: 83.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01288/1.297, allocations: 3.912 MB / 0.8578 GB, free: 82.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.297, allocations: 5.188 kB / 0.8578 GB, free: 82.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003746/1.3, allocations: 1.306 MB / 0.8591 GB, free: 81.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/1.302, allocations: 240.5 kB / 0.8593 GB, free: 81.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04425/1.347, allocations: 18.58 MB / 0.8774 GB, free: 67.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/1.349, allocations: 1.746 MB / 0.8792 GB, free: 66.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002244/1.351, allocations: 0.5136 MB / 0.8797 GB, free: 66.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/1.352, allocations: 0.4979 MB / 0.8801 GB, free: 65.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.443e-06/1.352, allocations: 0 / 0.8801 GB, free: 65.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09818/1.45, allocations: 41.57 MB / 0.9207 GB, free: 26.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/1.451, allocations: 238.1 kB / 0.921 GB, free: 26.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.537/4.987, allocations: 0 / 0.921 GB, free: 26.32 MB / 0.6511 GB