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.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.01003/0.01003, allocations: 88.31 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.001175/0.001175, allocations: 170.8 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.165/2.165, 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.333/2.333, allocations: 252.9 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008605/0.0008606, allocations: 11.59 kB / 0.6243 GB, free: 28.41 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2105, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005401/0.216, allocations: 3.177 MB / 0.7312 GB, free: 6.973 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.00387/0.2199, allocations: 1.709 MB / 0.7328 GB, free: 5.254 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.2202, allocations: 15.88 kB / 0.7329 GB, free: 5.238 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.2204, allocations: 51.61 kB / 0.7329 GB, free: 5.188 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0008496/0.2213, allocations: 235.2 kB / 0.7331 GB, free: 4.957 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007834/0.2221, allocations: 199.5 kB / 0.7333 GB, free: 4.762 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.000855/0.223, allocations: 388.9 kB / 0.7337 GB, free: 4.383 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008805/0.2239, allocations: 326.5 kB / 0.734 GB, free: 4.039 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.2244, allocations: 191.2 kB / 0.7342 GB, free: 3.852 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004333/0.2248, allocations: 183.3 kB / 0.7344 GB, free: 3.672 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.2249, allocations: 16 kB / 0.7344 GB, free: 3.656 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.2253, allocations: 103.8 kB / 0.7345 GB, free: 3.555 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.2254, allocations: 95.66 kB / 0.7346 GB, free: 3.461 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2256, allocations: 97.45 kB / 0.7347 GB, free: 3.359 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0006674/0.2262, allocations: 415.1 kB / 0.7351 GB, free: 2.953 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2263, allocations: 0 / 0.7351 GB, free: 2.953 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2263, allocations: 0 / 0.7351 GB, free: 2.953 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2263, allocations: 0 / 0.7351 GB, free: 2.953 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001466/0.2278, allocations: 0.6583 MB / 0.7357 GB, free: 2.246 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.2278, allocations: 15.97 kB / 0.7357 GB, free: 2.23 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.2279, allocations: 78.45 kB / 0.7358 GB, free: 2.145 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.229, allocations: 119.3 kB / 0.7359 GB, free: 2.027 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/0.2298, allocations: 354.7 kB / 0.7362 GB, free: 1.645 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.2298, allocations: 20.66 kB / 0.7363 GB, free: 1.621 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/0.2299, allocations: 31.98 kB / 0.7363 GB, free: 1.59 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.2311, allocations: 0.5476 MB / 0.7368 GB, free: 0.9648 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.2312, allocations: 7.938 kB / 0.7368 GB, free: 0.957 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.2313, allocations: 19.98 kB / 0.7369 GB, free: 0.9375 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.2314, allocations: 44.5 kB / 0.7369 GB, free: 0.8945 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.2326, allocations: 413.7 kB / 0.7373 GB, free: 500 kB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004122/0.2367, allocations: 3.334 MB / 0.7405 GB, free: 12.91 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.2378, allocations: 342.6 kB / 0.7409 GB, free: 12.57 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.2379, allocations: 8 kB / 0.7409 GB, free: 12.56 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.2379, allocations: 38.56 kB / 0.7409 GB, free: 12.51 MB / 0.573 GB Notification: Performance of pre-optimization done (n=26): time 2.345e-06/0.2379, allocations: 0 / 0.7409 GB, free: 12.51 MB / 0.573 GB Notification: Performance of matching and sorting (n=27): time 0.003254/0.2412, allocations: 1.086 MB / 0.742 GB, free: 11.36 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.2412, allocations: 55.64 kB / 0.742 GB, free: 11.29 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.2417, allocations: 337.6 kB / 0.7424 GB, free: 10.96 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.2418, allocations: 29.7 kB / 0.7424 GB, free: 10.92 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.242, allocations: 247.5 kB / 0.7426 GB, free: 10.68 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.2421, allocations: 90.73 kB / 0.7427 GB, free: 10.59 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.2422, allocations: 4 kB / 0.7427 GB, free: 10.58 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.2423, allocations: 350.8 kB / 0.743 GB, free: 10.23 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.2428, allocations: 152.8 kB / 0.7432 GB, free: 10.08 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.2434, allocations: 297.8 kB / 0.7435 GB, free: 9.73 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.244, allocations: 203.6 kB / 0.7437 GB, free: 9.535 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.244, allocations: 4 kB / 0.7437 GB, free: 9.531 MB / 0.573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001651/0.2457, allocations: 0.5738 MB / 0.7442 GB, free: 8.941 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.2457, allocations: 8 kB / 0.7442 GB, free: 8.934 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2457, allocations: 4 kB / 0.7442 GB, free: 8.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004805/0.2462, allocations: 90.44 kB / 0.7443 GB, free: 8.832 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/0.2469, allocations: 87.89 kB / 0.7444 GB, free: 8.746 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.2469, allocations: 11.92 kB / 0.7444 GB, free: 8.734 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.2474, allocations: 36 kB / 0.7445 GB, free: 8.699 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.2474, allocations: 16 kB / 0.7445 GB, free: 8.684 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002699/0.2477, allocations: 177.7 kB / 0.7446 GB, free: 8.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.271e-05/0.2478, allocations: 39.53 kB / 0.7447 GB, free: 8.461 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.2492, allocations: 472.7 kB / 0.7451 GB, free: 7.984 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.2493, allocations: 7.938 kB / 0.7451 GB, free: 7.977 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.2493, allocations: 0 / 0.7451 GB, free: 7.977 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2493, allocations: 3.984 kB / 0.7451 GB, free: 7.973 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.2516, allocations: 0.9709 MB / 0.7461 GB, free: 6.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.2516, allocations: 0 / 0.7461 GB, free: 6.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.2521, allocations: 56.05 kB / 0.7461 GB, free: 6.875 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004187/0.2525, allocations: 82.45 kB / 0.7462 GB, free: 6.785 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.2525, allocations: 4 kB / 0.7462 GB, free: 6.781 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.2526, allocations: 4 kB / 0.7462 GB, free: 6.777 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2526, allocations: 3.953 kB / 0.7462 GB, free: 6.773 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.254, allocations: 0.5856 MB / 0.7468 GB, free: 6.137 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.2542, allocations: 140.6 kB / 0.7469 GB, free: 5.98 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.653e-05/0.2543, allocations: 7.984 kB / 0.7469 GB, free: 5.973 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.2547, allocations: 23.98 kB / 0.747 GB, free: 5.949 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2549, allocations: 31.84 kB / 0.747 GB, free: 5.918 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.2549, allocations: 15.94 kB / 0.747 GB, free: 5.902 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003302/0.2552, allocations: 231.2 kB / 0.7472 GB, free: 5.676 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2552, allocations: 0 / 0.7472 GB, free: 5.676 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005833/0.2558, allocations: 84 kB / 0.7473 GB, free: 5.594 MB / 0.573 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001793/0.2576, allocations: 1.35 MB / 0.7486 GB, free: 4.184 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.259, allocations: 0.6378 MB / 0.7493 GB, free: 3.484 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.259, allocations: 4 kB / 0.7493 GB, free: 3.48 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007113/0.2598, allocations: 434.5 kB / 0.7497 GB, free: 2.992 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/0.2607, allocations: 117.4 kB / 0.7498 GB, free: 2.879 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006422/0.2672, allocations: 5.37 MB / 0.755 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.2677, allocations: 0.8317 MB / 0.7558 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004601/0.2682, allocations: 87.28 kB / 0.7559 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.2685, allocations: 131.4 kB / 0.7561 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of SimCode: time 7.91e-07/0.2685, allocations: 0 / 0.7561 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/0.3047, allocations: 7.794 MB / 0.7637 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.305, allocations: 229.7 kB / 0.7639 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.706, allocations: 0 / 0.7639 GB, free: 4.395 MB / 0.5886 GB