Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 297.4 MB / 312.6 MB, free: 2.941 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009518/0.0009521, allocations: 178.1 kB / 382.3 MB, free: 14.84 MB / 314.7 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.44/1.44, allocations: 225.7 MB / 0.6617 GB, free: 7.227 MB / 490.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.0008994/0.0008994, allocations: 93.38 kB / 0.7789 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.0004402, allocations: 12 kB / 0.9058 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.7001, allocations: 119.2 MB / 1.022 GB, free: 58.24 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004296/0.7044, allocations: 3.141 MB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002934/0.7074, allocations: 3.026 MB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.7076, allocations: 4.438 kB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.7078, allocations: 34 kB / 1.028 GB, free: 53.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.7084, allocations: 176.8 kB / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007099/0.7091, allocations: 235.3 kB / 1.029 GB, free: 53.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000541/0.7097, allocations: 0.4896 MB / 1.029 GB, free: 53.37 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009785/0.7106, allocations: 0.6299 MB / 1.03 GB, free: 52.85 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.7109, allocations: 134.8 kB / 1.03 GB, free: 52.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.7112, allocations: 174.4 kB / 1.03 GB, free: 52.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.7113, allocations: 12.5 kB / 1.03 GB, free: 52.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.7117, allocations: 294.1 kB / 1.03 GB, free: 52.64 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.7118, allocations: 83.91 kB / 1.03 GB, free: 52.61 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.712, allocations: 155.8 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.7125, allocations: 468.7 kB / 1.031 GB, free: 52.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7126, allocations: 1.281 kB / 1.031 GB, free: 52.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7126, allocations: 0 / 1.031 GB, free: 52.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.7126, allocations: 0 / 1.031 GB, free: 52.36 MB / 0.698 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.001088/0.7137, allocations: 0.6026 MB / 1.032 GB, free: 51.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.7137, allocations: 9.906 kB / 1.032 GB, free: 51.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006563/0.7144, allocations: 103 kB / 1.032 GB, free: 51.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.7147, allocations: 282.1 kB / 1.032 GB, free: 51.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.7147, allocations: 12.78 kB / 1.032 GB, free: 51.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.7148, allocations: 26.41 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007325/0.7155, allocations: 425.1 kB / 1.033 GB, free: 51.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.7156, allocations: 4 kB / 1.033 GB, free: 51.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.7156, allocations: 11.39 kB / 1.033 GB, free: 51.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.586e-05/0.7156, allocations: 25.31 kB / 1.033 GB, free: 51.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008385/0.7165, allocations: 409.5 kB / 1.033 GB, free: 51.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.718, allocations: 1.618 MB / 1.035 GB, free: 49.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.7191, allocations: 494.4 kB / 1.035 GB, free: 49.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003915/0.7195, allocations: 211.6 kB / 1.035 GB, free: 49.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.7197, allocations: 84.97 kB / 1.035 GB, free: 49.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005055/0.7202, allocations: 282 kB / 1.036 GB, free: 49.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 2.205e-06/0.7202, allocations: 0 / 1.036 GB, free: 49.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001747/0.722, allocations: 0.7752 MB / 1.036 GB, free: 49.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.722, allocations: 87.94 kB / 1.036 GB, free: 49.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.7222, allocations: 222.7 kB / 1.037 GB, free: 48.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.7222, allocations: 32.75 kB / 1.037 GB, free: 48.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.7223, allocations: 168.9 kB / 1.037 GB, free: 48.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.7224, allocations: 91.33 kB / 1.037 GB, free: 48.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.7224, allocations: 5.531 kB / 1.037 GB, free: 48.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.7225, allocations: 335.7 kB / 1.037 GB, free: 48.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.7229, allocations: 182.4 kB / 1.037 GB, free: 48.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.7233, allocations: 260.8 kB / 1.038 GB, free: 48.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007856/0.7241, allocations: 484.7 kB / 1.038 GB, free: 47.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7241, allocations: 0 / 1.038 GB, free: 47.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00103/0.7251, allocations: 0.558 MB / 1.039 GB, free: 47.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.275e-05/0.7252, allocations: 189 kB / 1.039 GB, free: 47.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7253, allocations: 3 kB / 1.039 GB, free: 47.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.7255, allocations: 39.23 kB / 1.039 GB, free: 47.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/0.7259, allocations: 92.2 kB / 1.039 GB, free: 47.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.727, allocations: 1.504 MB / 1.04 GB, free: 45.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.7274, allocations: 57.44 kB / 1.04 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.7274, allocations: 14.72 kB / 1.04 GB, free: 45.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.7274, allocations: 3.062 kB / 1.04 GB, free: 45.96 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009704/0.7284, allocations: 0.4964 MB / 1.041 GB, free: 45.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.7284, allocations: 2.109 kB / 1.041 GB, free: 45.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001268/0.7285, allocations: 41.06 kB / 1.041 GB, free: 45.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.7289, allocations: 93.08 kB / 1.041 GB, free: 45.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000889/0.7298, allocations: 1.476 MB / 1.043 GB, free: 44.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.7301, allocations: 60.47 kB / 1.043 GB, free: 44.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.7302, allocations: 14.12 kB / 1.043 GB, free: 44.34 MB / 0.698 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 (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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002317/0.7304, allocations: 239.2 kB / 1.043 GB, free: 44.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.7304, allocations: 26.59 kB / 1.043 GB, free: 44.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.7315, allocations: 496.1 kB / 1.043 GB, free: 43.92 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.7315, allocations: 3.344 kB / 1.043 GB, free: 43.92 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.7315, allocations: 0 / 1.043 GB, free: 43.92 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.7315, allocations: 3.844 kB / 1.043 GB, free: 43.92 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.7321, allocations: 0.5727 MB / 1.044 GB, free: 43.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.7321, allocations: 1.5 kB / 1.044 GB, free: 43.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.7324, allocations: 79.48 kB / 1.044 GB, free: 43.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.7326, allocations: 40.75 kB / 1.044 GB, free: 43.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.7326, allocations: 12.5 kB / 1.044 GB, free: 43.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008407/0.7335, allocations: 1.415 MB / 1.045 GB, free: 42.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7335, allocations: 0.75 kB / 1.045 GB, free: 42.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009421/0.7344, allocations: 0.5629 MB / 1.046 GB, free: 41.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.7346, allocations: 143.3 kB / 1.046 GB, free: 41.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.7346, allocations: 3.156 kB / 1.046 GB, free: 41.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.7349, allocations: 43.31 kB / 1.046 GB, free: 41.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.735, allocations: 31.72 kB / 1.046 GB, free: 41.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.7351, allocations: 5.781 kB / 1.046 GB, free: 41.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001653/0.7352, allocations: 171.8 kB / 1.046 GB, free: 41.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7353, allocations: 4 kB / 1.046 GB, free: 41.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000666/0.7359, allocations: 133.8 kB / 1.046 GB, free: 41.54 MB / 0.698 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 (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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.7361, allocations: 122.4 kB / 1.047 GB, free: 41.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.7379, allocations: 1.007 MB / 1.048 GB, free: 40.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7379, allocations: 2.844 kB / 1.048 GB, free: 40.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005919/0.7385, allocations: 338 kB / 1.048 GB, free: 40.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.739, allocations: 47.39 kB / 1.048 GB, free: 40.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.7401, allocations: 0.7417 MB / 1.049 GB, free: 40.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.7403, allocations: 0.7931 MB / 1.049 GB, free: 39.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003156/0.7407, allocations: 94.92 kB / 1.05 GB, free: 39.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.7408, allocations: 24.27 kB / 1.05 GB, free: 39.52 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.7408, allocations: 0 / 1.05 GB, free: 39.52 MB / 0.698 GB Notification: Performance of Templates: time 0.008153/0.7489, allocations: 4.145 MB / 1.054 GB, free: 39.28 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)