Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 111.9 kB / 16.38 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 191.3 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.851/1.851, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 75.89 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2805, allocations: 114.5 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.4099/0.6905, allocations: 3.557 MB / 0.7883 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.6929, allocations: 1.777 MB / 0.79 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.6931, allocations: 6.062 kB / 0.79 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007337/0.6939, allocations: 246.1 kB / 0.7903 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.6943, allocations: 193.8 kB / 0.7904 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.6948, allocations: 250 kB / 0.7907 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003757/0.6952, allocations: 391.7 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.6955, allocations: 222.6 kB / 0.7913 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.6957, allocations: 150.9 kB / 0.7914 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.696, allocations: 183.1 kB / 0.7916 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.6961, allocations: 25.72 kB / 0.7916 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.6964, allocations: 259.1 kB / 0.7919 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.073e-05/0.6965, allocations: 98.53 kB / 0.7919 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.6967, allocations: 140.7 kB / 0.7921 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.6971, allocations: 474.4 kB / 0.7925 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6971, allocations: 3.75 kB / 0.7925 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6971, allocations: 0 / 0.7925 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.6972, allocations: 2.625 kB / 0.7925 GB, free: 46.45 MB / 0.6544 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.00103/0.6982, allocations: 0.6358 MB / 0.7932 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.6983, allocations: 6.844 kB / 0.7932 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006842/0.6989, allocations: 97.25 kB / 0.7933 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.6992, allocations: 285.1 kB / 0.7935 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.6993, allocations: 16.22 kB / 0.7935 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.6993, allocations: 25.36 kB / 0.7936 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.7, allocations: 413.5 kB / 0.794 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.7, allocations: 7.344 kB / 0.794 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.7001, allocations: 7.938 kB / 0.794 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/0.7001, allocations: 29.38 kB / 0.794 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008033/0.7009, allocations: 381.8 kB / 0.7944 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.7024, allocations: 1.614 MB / 0.7959 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.7035, allocations: 456.5 kB / 0.7964 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004204/0.7039, allocations: 193.3 kB / 0.7966 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.7041, allocations: 94.5 kB / 0.7967 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005513/0.7046, allocations: 259.7 kB / 0.7969 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=27): time 1.873e-06/0.7047, allocations: 0 / 0.7969 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.001893/0.7066, allocations: 0.7402 MB / 0.7976 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.7066, allocations: 90.84 kB / 0.7977 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.7068, allocations: 228.3 kB / 0.7979 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.7069, allocations: 29.58 kB / 0.798 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.707, allocations: 169.2 kB / 0.7981 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.707, allocations: 92.39 kB / 0.7982 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.7071, allocations: 67.39 kB / 0.7983 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.7072, allocations: 335.5 kB / 0.7986 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.7076, allocations: 173.2 kB / 0.7988 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.708, allocations: 246.1 kB / 0.799 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007668/0.7088, allocations: 452.1 kB / 0.7994 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7088, allocations: 0 / 0.7994 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00111/0.7099, allocations: 0.5352 MB / 0.7999 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.7099, allocations: 33.77 kB / 0.8 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.71, allocations: 4.031 kB / 0.8 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.7102, allocations: 41.97 kB / 0.8 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.7106, allocations: 89.09 kB / 0.8001 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.7118, allocations: 1.607 MB / 0.8017 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.7122, allocations: 45.22 kB / 0.8017 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.7122, allocations: 15.83 kB / 0.8017 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004658/0.7127, allocations: 273.3 kB / 0.802 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004378/0.7131, allocations: 242.3 kB / 0.8022 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008479/0.714, allocations: 435.5 kB / 0.8026 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.714, allocations: 1.156 kB / 0.8026 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001156/0.7152, allocations: 0.5045 MB / 0.8031 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.7152, allocations: 41.48 kB / 0.8032 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.7152, allocations: 0 / 0.8032 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.7154, allocations: 41.81 kB / 0.8032 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.7158, allocations: 85.27 kB / 0.8033 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.717, allocations: 1.62 MB / 0.8049 GB, free: 39.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.7174, allocations: 46.42 kB / 0.8049 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.7174, allocations: 18.34 kB / 0.8049 GB, free: 39.11 MB / 0.6544 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 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * 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.0001717/0.7176, allocations: 197 kB / 0.8051 GB, free: 38.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.7177, allocations: 24.52 kB / 0.8052 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.7189, allocations: 472.7 kB / 0.8056 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.719, allocations: 2.859 kB / 0.8056 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.719, allocations: 0.6875 kB / 0.8056 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.7191, allocations: 140.4 kB / 0.8057 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.7192, allocations: 11.03 kB / 0.8058 GB, free: 38.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.7195, allocations: 40.69 kB / 0.8058 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.7196, allocations: 30.17 kB / 0.8058 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001355/0.721, allocations: 0.6054 MB / 0.8064 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001533/0.7225, allocations: 0.847 MB / 0.8072 GB, free: 37.83 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004685/0.723, allocations: 178.5 kB / 0.8074 GB, free: 37.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000182/0.7232, allocations: 175.8 kB / 0.8076 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of Backend: time 3.7e-07/0.7232, allocations: 0.9688 kB / 0.8076 GB, free: 37.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00259/0.7258, allocations: 1.038 MB / 0.8086 GB, free: 37.09 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001295/0.7271, allocations: 0.958 MB / 0.8095 GB, free: 36.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.0206/0.7477, allocations: 7.167 MB / 0.8165 GB, free: 35.93 MB / 0.6544 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)