Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.866/1.866, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.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.000987/0.0009871, allocations: 183.2 kB / 393.1 MB, free: 4.051 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.516/1.516, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008986/0.000899, allocations: 97.88 kB / 0.7935 GB, free: 40.17 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 12.78 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6751/0.6755, allocations: 121.3 MB / 1.041 GB, free: 58.88 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003865/0.6794, allocations: 3.137 MB / 1.044 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002761/0.6822, allocations: 3.024 MB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.6823, allocations: 4.438 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.6825, allocations: 35.38 kB / 1.047 GB, free: 54 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.683, allocations: 182.3 kB / 1.047 GB, free: 53.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.6836, allocations: 234.9 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.684, allocations: 0.4906 MB / 1.048 GB, free: 53.61 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007741/0.6848, allocations: 0.6268 MB / 1.048 GB, free: 53.1 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.685, allocations: 133.6 kB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.6854, allocations: 176.9 kB / 1.049 GB, free: 52.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.6854, allocations: 12.16 kB / 1.049 GB, free: 52.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.6859, allocations: 303.6 kB / 1.049 GB, free: 52.88 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.987e-05/0.686, allocations: 75.03 kB / 1.049 GB, free: 52.86 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.6861, allocations: 157.4 kB / 1.049 GB, free: 52.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.6867, allocations: 467.6 kB / 1.05 GB, free: 52.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.6867, allocations: 0 / 1.05 GB, free: 52.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6867, allocations: 0.8125 kB / 1.05 GB, free: 52.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.6867, allocations: 1.844 kB / 1.05 GB, free: 52.61 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.001058/0.6878, allocations: 0.5956 MB / 1.05 GB, free: 52.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.6878, allocations: 12.41 kB / 1.05 GB, free: 52.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000655/0.6885, allocations: 95.44 kB / 1.05 GB, free: 52.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.6888, allocations: 279.4 kB / 1.051 GB, free: 51.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.6888, allocations: 14.53 kB / 1.051 GB, free: 51.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/0.6889, allocations: 24.72 kB / 1.051 GB, free: 51.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.6896, allocations: 436.1 kB / 1.051 GB, free: 51.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.6896, allocations: 0 / 1.051 GB, free: 51.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.6897, allocations: 9.156 kB / 1.051 GB, free: 51.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.224e-05/0.6897, allocations: 23.48 kB / 1.051 GB, free: 51.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/0.6906, allocations: 414.7 kB / 1.052 GB, free: 51.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.6921, allocations: 1.615 MB / 1.053 GB, free: 50.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.6932, allocations: 499.8 kB / 1.054 GB, free: 50.01 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.6936, allocations: 201.8 kB / 1.054 GB, free: 49.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.6937, allocations: 100.8 kB / 1.054 GB, free: 49.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005114/0.6943, allocations: 272.4 kB / 1.054 GB, free: 49.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.6943, allocations: 0 / 1.054 GB, free: 49.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001783/0.6961, allocations: 0.7875 MB / 1.055 GB, free: 49.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.6961, allocations: 85.05 kB / 1.055 GB, free: 49.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.6963, allocations: 227 kB / 1.055 GB, free: 49.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.6964, allocations: 29.7 kB / 1.055 GB, free: 49.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.967e-05/0.6964, allocations: 163.1 kB / 1.055 GB, free: 48.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.4e-05/0.6965, allocations: 101.4 kB / 1.055 GB, free: 48.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.6965, allocations: 7.5 kB / 1.055 GB, free: 48.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/0.6966, allocations: 330 kB / 1.056 GB, free: 48.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.697, allocations: 182.2 kB / 1.056 GB, free: 48.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.6974, allocations: 261.6 kB / 1.056 GB, free: 48.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.6982, allocations: 477.9 kB / 1.057 GB, free: 48.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6982, allocations: 0 / 1.057 GB, free: 48.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001088/0.6993, allocations: 0.5572 MB / 1.057 GB, free: 47.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.348e-05/0.6994, allocations: 181 kB / 1.057 GB, free: 47.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.6994, allocations: 1.875 kB / 1.057 GB, free: 47.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.6997, allocations: 48.42 kB / 1.057 GB, free: 47.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.7001, allocations: 86.06 kB / 1.058 GB, free: 47.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.7012, allocations: 1.502 MB / 1.059 GB, free: 46.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.7015, allocations: 56.36 kB / 1.059 GB, free: 46.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.7016, allocations: 12.56 kB / 1.059 GB, free: 46.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.7016, allocations: 4.438 kB / 1.059 GB, free: 46.22 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009903/0.7026, allocations: 0.5018 MB / 1.06 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.7026, allocations: 3.594 kB / 1.06 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001114/0.7027, allocations: 43.27 kB / 1.06 GB, free: 46.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.703, allocations: 91.64 kB / 1.06 GB, free: 46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009049/0.704, allocations: 1.476 MB / 1.061 GB, free: 44.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.7042, allocations: 51.64 kB / 1.061 GB, free: 44.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.7043, allocations: 10.52 kB / 1.061 GB, free: 44.59 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.0001731/0.7045, allocations: 243.1 kB / 1.061 GB, free: 44.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.7045, allocations: 37.52 kB / 1.061 GB, free: 44.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009608/0.7055, allocations: 496.3 kB / 1.062 GB, free: 44.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.7055, allocations: 3.062 kB / 1.062 GB, free: 44.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7055, allocations: 3.188 kB / 1.062 GB, free: 44.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.7055, allocations: 0.6094 kB / 1.062 GB, free: 44.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.7061, allocations: 0.5649 MB / 1.062 GB, free: 43.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7061, allocations: 1.125 kB / 1.062 GB, free: 43.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.7064, allocations: 86.12 kB / 1.063 GB, free: 43.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.7066, allocations: 36.73 kB / 1.063 GB, free: 43.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.7066, allocations: 9.875 kB / 1.063 GB, free: 43.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007963/0.7074, allocations: 1.406 MB / 1.064 GB, free: 42.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7074, allocations: 3.938 kB / 1.064 GB, free: 42.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008694/0.7083, allocations: 0.5627 MB / 1.065 GB, free: 42.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.7084, allocations: 134.6 kB / 1.065 GB, free: 41.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.7085, allocations: 11.31 kB / 1.065 GB, free: 41.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.7088, allocations: 42.67 kB / 1.065 GB, free: 41.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.7089, allocations: 32.67 kB / 1.065 GB, free: 41.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.7089, allocations: 10.44 kB / 1.065 GB, free: 41.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001314/0.709, allocations: 175.7 kB / 1.065 GB, free: 41.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.709, allocations: 0 / 1.065 GB, free: 41.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005172/0.7096, allocations: 126.1 kB / 1.065 GB, free: 41.79 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.0001583/0.7097, allocations: 123.2 kB / 1.065 GB, free: 41.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.7114, allocations: 1.007 MB / 1.066 GB, free: 41.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7114, allocations: 2.75 kB / 1.066 GB, free: 41.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005429/0.712, allocations: 350.8 kB / 1.066 GB, free: 40.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.7124, allocations: 43.48 kB / 1.067 GB, free: 40.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.7135, allocations: 0.7327 MB / 1.067 GB, free: 40.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.7137, allocations: 0.7859 MB / 1.068 GB, free: 39.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002875/0.714, allocations: 93.91 kB / 1.068 GB, free: 39.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.7141, allocations: 31.05 kB / 1.068 GB, free: 39.78 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.7141, allocations: 4 kB / 1.068 GB, free: 39.77 MB / 0.698 GB Notification: Performance of Templates: time 0.007913/0.7221, allocations: 4.147 MB / 1.072 GB, free: 39.53 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)