Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001083, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009041/0.009042, allocations: 173.9 kB / 16.26 MB, free: 6.613 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.999/1.999, allocations: 205.4 MB / 222.4 MB, free: 5.578 MB / 174.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.887/1.887, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005812/0.0005812, allocations: 18.12 kB / 0.6743 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3102, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004865/0.3151, allocations: 2.936 MB / 0.7908 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00357/0.3187, allocations: 1.836 MB / 0.7926 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.319, allocations: 7.938 kB / 0.7926 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.3193, allocations: 43.7 kB / 0.7926 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007684/0.3201, allocations: 195.2 kB / 0.7928 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009924/0.3211, allocations: 271.5 kB / 0.793 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008483/0.322, allocations: 0.5648 MB / 0.7936 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.323, allocations: 461.3 kB / 0.794 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005381/0.3236, allocations: 135.4 kB / 0.7942 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008407/0.3244, allocations: 187.3 kB / 0.7943 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-05/0.3246, allocations: 12 kB / 0.7944 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009394/0.3255, allocations: 283.4 kB / 0.7946 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.3257, allocations: 111.7 kB / 0.7947 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.3261, allocations: 157 kB / 0.7949 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009692/0.327, allocations: 462.4 kB / 0.7953 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.469e-05/0.3271, allocations: 7.984 kB / 0.7953 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.589e-06/0.3271, allocations: 0 / 0.7953 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.3271, allocations: 0 / 0.7953 GB, free: 3.895 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001446/0.3286, allocations: 0.538 MB / 0.7959 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/0.3286, allocations: 12.03 kB / 0.7959 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009664/0.3296, allocations: 92.47 kB / 0.796 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.3301, allocations: 276.4 kB / 0.7962 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.3302, allocations: 20.92 kB / 0.7962 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.3303, allocations: 32.5 kB / 0.7963 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.331, allocations: 449.1 kB / 0.7967 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.331, allocations: 0 / 0.7967 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.331, allocations: 12 kB / 0.7967 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000152/0.3312, allocations: 44.52 kB / 0.7968 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/0.3317, allocations: 345.9 kB / 0.7971 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/0.3353, allocations: 2.203 MB / 0.7992 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.3359, allocations: 274.4 kB / 0.7995 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.3363, allocations: 160.8 kB / 0.7996 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.3363, allocations: 4 kB / 0.7997 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/0.3364, allocations: 30.56 kB / 0.7997 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 2.916e-06/0.3364, allocations: 0 / 0.7997 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.002355/0.3388, allocations: 1.068 MB / 0.8007 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.3388, allocations: 55.41 kB / 0.8008 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.3392, allocations: 248.9 kB / 0.801 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.3393, allocations: 29.7 kB / 0.801 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.3395, allocations: 192 kB / 0.8012 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.3396, allocations: 86.75 kB / 0.8013 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.3398, allocations: 29.7 kB / 0.8013 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3399, allocations: 338.8 kB / 0.8017 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.3402, allocations: 151.9 kB / 0.8018 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.3406, allocations: 241.5 kB / 0.802 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.3413, allocations: 398.9 kB / 0.8024 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.3413, allocations: 3.938 kB / 0.8024 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001428/0.3427, allocations: 0.5974 MB / 0.803 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.3428, allocations: 4 kB / 0.803 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3428, allocations: 4 kB / 0.803 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007722/0.3436, allocations: 185 kB / 0.8032 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.3439, allocations: 63.89 kB / 0.8032 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/0.3469, allocations: 2.307 MB / 0.8055 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.3473, allocations: 15.98 kB / 0.8055 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.3473, allocations: 12 kB / 0.8055 GB, free: 8.77 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002209/0.3476, allocations: 162.4 kB / 0.8057 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.3476, allocations: 27.66 kB / 0.8057 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005968/0.3482, allocations: 354 kB / 0.806 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.3482, allocations: 7.984 kB / 0.8061 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.3483, allocations: 3.938 kB / 0.8061 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3483, allocations: 0 / 0.8061 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.3494, allocations: 0.8082 MB / 0.8068 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3495, allocations: 8 kB / 0.8069 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.3499, allocations: 75.88 kB / 0.8069 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.3499, allocations: 8.062 kB / 0.8069 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.3499, allocations: 0 / 0.8069 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3499, allocations: 4 kB / 0.8069 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3499, allocations: 0 / 0.8069 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.3508, allocations: 0.6103 MB / 0.8075 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.351, allocations: 128.8 kB / 0.8077 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.351, allocations: 12 kB / 0.8077 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.3513, allocations: 15.98 kB / 0.8077 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.3513, allocations: 11.92 kB / 0.8077 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.3513, allocations: 15.98 kB / 0.8077 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002017/0.3515, allocations: 176.5 kB / 0.8079 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3515, allocations: 0 / 0.8079 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004622/0.352, allocations: 91.94 kB / 0.808 GB, free: 6.164 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002061/0.3522, allocations: 111.2 kB / 0.8081 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.3532, allocations: 0.5294 MB / 0.8086 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3533, allocations: 0 / 0.8086 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.3535, allocations: 151.1 kB / 0.8087 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.354, allocations: 52.53 kB / 0.8088 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.3559, allocations: 1.019 MB / 0.8098 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.3564, allocations: 0.7873 MB / 0.8105 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002573/0.3567, allocations: 74.91 kB / 0.8106 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.381e-05/0.3568, allocations: 31.42 kB / 0.8107 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/0.3568, allocations: 3.938 kB / 0.8107 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of Templates: time 0.009253/0.366, allocations: 3.754 MB / 0.8143 GB, free: 15.6 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) Environment - environmentSimulation: