Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 104.2 kB / 16.36 MB, free: 6.312 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.001771/0.001771, allocations: 190.9 kB / 17.3 MB, free: 5.871 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.651/1.651, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.902/1.902, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001451/0.001451, allocations: 71.89 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2783, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.005161/0.2835, allocations: 3.038 MB / 0.7878 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4781/0.7616, allocations: 1.771 MB / 0.7895 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.7619, allocations: 9.688 kB / 0.7895 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008791/0.7628, allocations: 229 kB / 0.7897 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005251/0.7633, allocations: 198.1 kB / 0.7899 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007366/0.7641, allocations: 253.5 kB / 0.7902 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000503/0.7646, allocations: 388.6 kB / 0.7905 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.765, allocations: 214.5 kB / 0.7907 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.7653, allocations: 160.3 kB / 0.7909 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.7657, allocations: 181.8 kB / 0.7911 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.7657, allocations: 27.5 kB / 0.7911 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004755/0.7662, allocations: 256.4 kB / 0.7913 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.7663, allocations: 97.64 kB / 0.7914 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.7665, allocations: 140.4 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005557/0.7671, allocations: 469.3 kB / 0.792 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.7671, allocations: 8.484 kB / 0.792 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7671, allocations: 0 / 0.792 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.7671, allocations: 6.562 kB / 0.792 GB, free: 46.56 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.001154/0.7683, allocations: 0.6346 MB / 0.7926 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.612e-05/0.7683, allocations: 10.56 kB / 0.7926 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007168/0.7691, allocations: 95.31 kB / 0.7927 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.7694, allocations: 282.1 kB / 0.793 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.7694, allocations: 14.25 kB / 0.793 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.7695, allocations: 29.83 kB / 0.793 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.7703, allocations: 412.3 kB / 0.7934 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.7703, allocations: 2.812 kB / 0.7934 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.7703, allocations: 12.22 kB / 0.7935 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.7704, allocations: 26.41 kB / 0.7935 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/0.7712, allocations: 382.4 kB / 0.7938 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.7728, allocations: 1.609 MB / 0.7954 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.7739, allocations: 457.9 kB / 0.7959 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004041/0.7743, allocations: 191.5 kB / 0.796 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.7745, allocations: 94.17 kB / 0.7961 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005026/0.775, allocations: 276.2 kB / 0.7964 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=27): time 2.174e-06/0.775, allocations: 0 / 0.7964 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.00186/0.7769, allocations: 0.7349 MB / 0.7971 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.7769, allocations: 84.55 kB / 0.7972 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.7771, allocations: 228.3 kB / 0.7974 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.7772, allocations: 32.86 kB / 0.7974 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.7772, allocations: 162.9 kB / 0.7976 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.7773, allocations: 91.44 kB / 0.7977 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.7774, allocations: 72.45 kB / 0.7977 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.7775, allocations: 335.8 kB / 0.7981 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.7779, allocations: 175.5 kB / 0.7982 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.7784, allocations: 247.6 kB / 0.7985 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/0.7793, allocations: 451.8 kB / 0.7989 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7793, allocations: 0 / 0.7989 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001212/0.7806, allocations: 0.539 MB / 0.7994 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.7806, allocations: 31.3 kB / 0.7995 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.7806, allocations: 7.266 kB / 0.7995 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/0.7809, allocations: 45.47 kB / 0.7995 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.7814, allocations: 85.81 kB / 0.7996 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.7829, allocations: 1.607 MB / 0.8012 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.7833, allocations: 45.17 kB / 0.8012 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.7833, allocations: 16.94 kB / 0.8012 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005136/0.7838, allocations: 277.9 kB / 0.8015 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004158/0.7843, allocations: 231.1 kB / 0.8017 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008927/0.7852, allocations: 441.8 kB / 0.8021 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.626e-06/0.7852, allocations: 1.281 kB / 0.8021 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001424/0.7866, allocations: 0.5061 MB / 0.8026 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.7867, allocations: 33.56 kB / 0.8027 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.7867, allocations: 2.312 kB / 0.8027 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001952/0.7869, allocations: 51.7 kB / 0.8027 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.7873, allocations: 76.23 kB / 0.8028 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.7891, allocations: 1.611 MB / 0.8044 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.7895, allocations: 45.83 kB / 0.8044 GB, free: 39.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.7896, allocations: 16.36 kB / 0.8044 GB, free: 39.29 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.000282/0.7899, allocations: 200.2 kB / 0.8046 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.79, allocations: 25.33 kB / 0.8046 GB, free: 39.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.7914, allocations: 480.5 kB / 0.8051 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.7914, allocations: 2.5 kB / 0.8051 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.7914, allocations: 0.5625 kB / 0.8051 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.7916, allocations: 132.8 kB / 0.8052 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.7917, allocations: 7.234 kB / 0.8052 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.792, allocations: 41.06 kB / 0.8053 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.7922, allocations: 27.14 kB / 0.8053 GB, free: 38.77 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001431/0.7936, allocations: 0.6126 MB / 0.8059 GB, free: 38.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001653/0.7953, allocations: 0.8418 MB / 0.8067 GB, free: 38.01 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004898/0.7958, allocations: 185.6 kB / 0.8069 GB, free: 37.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002022/0.796, allocations: 171 kB / 0.807 GB, free: 37.85 MB / 0.6544 GB Notification: Performance of Backend: time 8.91e-07/0.796, allocations: 3.938 kB / 0.8071 GB, free: 37.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002841/0.7989, allocations: 1.045 MB / 0.8081 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001192/0.8001, allocations: 0.9556 MB / 0.809 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.01812/0.8182, allocations: 7.163 MB / 0.816 GB, free: 36.09 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)