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.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",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.01013/0.01013, allocations: 92.88 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.001146/0.001146, allocations: 173.3 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.038/2.038, allocations: 205.5 MB / 222.2 MB, free: 13.58 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.246/2.246, allocations: 252.8 MB / 0.511 GB, free: 8.285 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004681, allocations: 14.31 kB / 0.6243 GB, free: 20.97 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2387, allocations: 106.2 MB / 0.7281 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.006837/0.2456, allocations: 2.568 MB / 0.7306 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005767/0.2515, allocations: 1.623 MB / 0.7322 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.2518, allocations: 8 kB / 0.7322 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.2521, allocations: 31.77 kB / 0.7322 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008461/0.2529, allocations: 135.5 kB / 0.7323 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.2542, allocations: 187.5 kB / 0.7325 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.2549, allocations: 227.5 kB / 0.7327 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.2565, allocations: 374.5 kB / 0.7331 GB, free: 2.898 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/0.2569, allocations: 111.6 kB / 0.7332 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/0.2573, allocations: 135.5 kB / 0.7333 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.038e-05/0.2574, allocations: 12 kB / 0.7333 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006364/0.2581, allocations: 135.8 kB / 0.7335 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.2583, allocations: 79.73 kB / 0.7335 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.2585, allocations: 69.58 kB / 0.7336 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000916/0.2594, allocations: 347.4 kB / 0.7339 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2594, allocations: 0 / 0.7339 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of FrontEnd: time 5.37e-06/0.2594, allocations: 0 / 0.7339 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.2595, allocations: 3.938 kB / 0.7339 GB, free: 2.016 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00224/0.2617, allocations: 0.598 MB / 0.7345 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/0.2618, allocations: 8.031 kB / 0.7345 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.262, allocations: 74.47 kB / 0.7346 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.2636, allocations: 107.5 kB / 0.7347 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.2643, allocations: 270.5 kB / 0.735 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.772e-05/0.2644, allocations: 20.42 kB / 0.735 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.2645, allocations: 20 kB / 0.735 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.2663, allocations: 422.5 kB / 0.7354 GB, free: 388 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.2664, allocations: 3.984 kB / 0.7354 GB, free: 384 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.2665, allocations: 8 kB / 0.7354 GB, free: 376 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.2666, allocations: 28.31 kB / 0.7354 GB, free: 344 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.2688, allocations: 416.8 kB / 0.7358 GB, free: 15.93 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002798/0.2716, allocations: 1.615 MB / 0.7374 GB, free: 14.19 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.2736, allocations: 485.2 kB / 0.7379 GB, free: 13.7 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.2739, allocations: 89.09 kB / 0.738 GB, free: 13.59 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009144/0.2748, allocations: 271.5 kB / 0.7382 GB, free: 13.31 MB / 0.573 GB Notification: Performance of pre-optimization done (n=27): time 2.826e-06/0.2748, allocations: 0 / 0.7382 GB, free: 13.31 MB / 0.573 GB Notification: Performance of matching and sorting (n=28): time 0.003178/0.278, allocations: 0.7773 MB / 0.739 GB, free: 12.5 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.2781, allocations: 89.09 kB / 0.7391 GB, free: 12.4 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.2785, allocations: 224.9 kB / 0.7393 GB, free: 12.17 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.2785, allocations: 33.7 kB / 0.7393 GB, free: 12.13 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.2787, allocations: 168.3 kB / 0.7395 GB, free: 11.96 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.2788, allocations: 98.64 kB / 0.7396 GB, free: 11.87 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.2789, allocations: 4 kB / 0.7396 GB, free: 11.86 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.279, allocations: 338.8 kB / 0.7399 GB, free: 11.52 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/0.2798, allocations: 184.2 kB / 0.7401 GB, free: 11.34 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007949/0.2806, allocations: 257 kB / 0.7403 GB, free: 11.06 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008052/0.2814, allocations: 233.8 kB / 0.7405 GB, free: 10.83 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.2815, allocations: 0 / 0.7405 GB, free: 10.83 MB / 0.573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002088/0.2836, allocations: 0.5619 MB / 0.7411 GB, free: 10.25 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000446/0.284, allocations: 0.9099 MB / 0.742 GB, free: 9.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.284, allocations: 0 / 0.742 GB, free: 9.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003453/0.2844, allocations: 48.83 kB / 0.742 GB, free: 9.219 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007622/0.2852, allocations: 83.86 kB / 0.7421 GB, free: 9.137 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.2873, allocations: 1.513 MB / 0.7436 GB, free: 7.484 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.288, allocations: 55.78 kB / 0.7436 GB, free: 7.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.2881, allocations: 12 kB / 0.7437 GB, free: 7.418 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2881, allocations: 8.062 kB / 0.7437 GB, free: 7.41 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001926/0.29, allocations: 0.4906 MB / 0.7441 GB, free: 6.914 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2901, allocations: 4.062 kB / 0.7441 GB, free: 6.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002389/0.2903, allocations: 44.98 kB / 0.7442 GB, free: 6.863 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/0.291, allocations: 91.8 kB / 0.7443 GB, free: 6.773 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.2929, allocations: 1.501 MB / 0.7457 GB, free: 5.137 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005548/0.2935, allocations: 47.8 kB / 0.7458 GB, free: 5.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.2935, allocations: 16 kB / 0.7458 GB, free: 5.074 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003362/0.2939, allocations: 246 kB / 0.746 GB, free: 4.824 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/0.294, allocations: 23.72 kB / 0.7461 GB, free: 4.801 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.2958, allocations: 499.2 kB / 0.7465 GB, free: 4.309 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.2959, allocations: 7.953 kB / 0.7465 GB, free: 4.301 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2959, allocations: 4 kB / 0.7465 GB, free: 4.297 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.2959, allocations: 0 / 0.7465 GB, free: 4.297 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009972/0.2969, allocations: 0.5545 MB / 0.7471 GB, free: 3.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.2969, allocations: 4 kB / 0.7471 GB, free: 3.676 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007065/0.2976, allocations: 83.95 kB / 0.7472 GB, free: 3.594 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002164/0.2979, allocations: 40.78 kB / 0.7472 GB, free: 3.551 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.2979, allocations: 4 kB / 0.7472 GB, free: 3.547 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.2996, allocations: 1.429 MB / 0.7486 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.2996, allocations: 3.984 kB / 0.7486 GB, free: 1.973 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.3015, allocations: 0.5977 MB / 0.7492 GB, free: 1.328 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.3017, allocations: 136.7 kB / 0.7493 GB, free: 1.176 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.3018, allocations: 8 kB / 0.7493 GB, free: 1.168 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/0.3024, allocations: 47.91 kB / 0.7494 GB, free: 1.121 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.3025, allocations: 31.95 kB / 0.7494 GB, free: 1.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.3026, allocations: 8 kB / 0.7494 GB, free: 1.082 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002569/0.3028, allocations: 176.5 kB / 0.7496 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.414e-06/0.3029, allocations: 3.938 kB / 0.7496 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008781/0.3037, allocations: 131.9 kB / 0.7497 GB, free: 0.7773 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: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002323/0.3061, allocations: 1.348 MB / 0.751 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003176/0.3093, allocations: 1.018 MB / 0.752 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.3093, allocations: 0 / 0.752 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.3104, allocations: 338.9 kB / 0.7523 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.311, allocations: 44.3 kB / 0.7524 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006117/0.3171, allocations: 3.324 MB / 0.7556 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.3176, allocations: 0.7917 MB / 0.7564 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0005452/0.3182, allocations: 94.2 kB / 0.7565 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.3185, allocations: 87.39 kB / 0.7566 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/0.3185, allocations: 0 / 0.7566 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.3556, allocations: 6.551 MB / 0.763 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/0.356, allocations: 235.1 kB / 0.7632 GB, free: 2.836 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.056, allocations: 0 / 0.7632 GB, free: 2.836 MB / 0.5886 GB