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.001195/0.001195, allocations: 103 kB / 16.29 MB, free: 6.43 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.001104/0.001104, allocations: 185 kB / 17.22 MB, free: 5.934 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.707/1.707, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.998/1.998, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001607/0.001607, allocations: 71.88 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3001, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005788/0.306, allocations: 3.241 MB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5528/0.8589, allocations: 1.867 MB / 0.7891 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.8594, allocations: 7.844 kB / 0.7891 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.8606, allocations: 290.1 kB / 0.7894 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000791/0.8614, allocations: 209.3 kB / 0.7896 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009731/0.8624, allocations: 293.5 kB / 0.7898 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000544/0.8629, allocations: 412.5 kB / 0.7902 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004902/0.8634, allocations: 199.4 kB / 0.7904 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.8637, allocations: 165.6 kB / 0.7906 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003976/0.8641, allocations: 195 kB / 0.7908 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.8642, allocations: 26.69 kB / 0.7908 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006059/0.8648, allocations: 237.3 kB / 0.791 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.865, allocations: 123.2 kB / 0.7911 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.8652, allocations: 140.1 kB / 0.7913 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.8658, allocations: 474.1 kB / 0.7917 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.8658, allocations: 0 / 0.7917 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.536e-06/0.8658, allocations: 0 / 0.7917 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.8659, allocations: 3.562 kB / 0.7917 GB, free: 45.94 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001213/0.8671, allocations: 0.5886 MB / 0.7923 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.8671, allocations: 8.531 kB / 0.7923 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007685/0.8679, allocations: 96.52 kB / 0.7924 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.8682, allocations: 274 kB / 0.7927 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.8683, allocations: 19.58 kB / 0.7927 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.8684, allocations: 40.94 kB / 0.7927 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/0.869, allocations: 452.3 kB / 0.7932 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.869, allocations: 2.062 kB / 0.7932 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.8691, allocations: 14.78 kB / 0.7932 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.8692, allocations: 41.64 kB / 0.7932 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/0.8698, allocations: 348.5 kB / 0.7935 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.8723, allocations: 2.193 MB / 0.7957 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.8728, allocations: 266 kB / 0.7959 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.873, allocations: 165.3 kB / 0.7961 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.8731, allocations: 3.438 kB / 0.7961 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.8731, allocations: 37.06 kB / 0.7961 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.244e-06/0.8731, allocations: 0 / 0.7961 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.001828/0.8749, allocations: 1.054 MB / 0.7972 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.875, allocations: 56.69 kB / 0.7972 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.8753, allocations: 251.5 kB / 0.7975 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.8753, allocations: 30.11 kB / 0.7975 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.8754, allocations: 193.3 kB / 0.7977 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.8755, allocations: 81.59 kB / 0.7977 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.8757, allocations: 73.16 kB / 0.7978 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8758, allocations: 333.6 kB / 0.7981 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.876, allocations: 150 kB / 0.7983 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.8763, allocations: 244.9 kB / 0.7985 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.8769, allocations: 401.3 kB / 0.7989 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.8769, allocations: 0 / 0.7989 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00111/0.878, allocations: 0.5955 MB / 0.7995 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.878, allocations: 6.875 kB / 0.7995 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.878, allocations: 2.625 kB / 0.7995 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006745/0.8787, allocations: 188.6 kB / 0.7997 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.879, allocations: 63.45 kB / 0.7997 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/0.8821, allocations: 2.495 MB / 0.8022 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.8825, allocations: 17.3 kB / 0.8022 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.8825, allocations: 16.59 kB / 0.8022 GB, free: 40.29 MB / 0.6544 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.0001968/0.8827, allocations: 166.1 kB / 0.8024 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.8828, allocations: 29.12 kB / 0.8024 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006006/0.8834, allocations: 355.4 kB / 0.8027 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8834, allocations: 2.281 kB / 0.8027 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.8834, allocations: 2.219 kB / 0.8027 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.8834, allocations: 1.359 kB / 0.8027 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.8846, allocations: 0.8046 MB / 0.8035 GB, free: 39.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.8846, allocations: 1.172 kB / 0.8035 GB, free: 39.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.885, allocations: 83.89 kB / 0.8036 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.8851, allocations: 1.188 kB / 0.8036 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.8851, allocations: 6.75 kB / 0.8036 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.8851, allocations: 1.969 kB / 0.8036 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8851, allocations: 1.031 kB / 0.8036 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008694/0.886, allocations: 0.619 MB / 0.8042 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.8861, allocations: 129.8 kB / 0.8043 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.8862, allocations: 8.141 kB / 0.8043 GB, free: 39.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.8864, allocations: 13.64 kB / 0.8043 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.8865, allocations: 16.36 kB / 0.8044 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.8865, allocations: 11.03 kB / 0.8044 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002013/0.8867, allocations: 176.8 kB / 0.8045 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8867, allocations: 1.281 kB / 0.8045 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004835/0.8872, allocations: 91.41 kB / 0.8046 GB, free: 38.9 MB / 0.6544 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.0001816/0.8874, allocations: 123.5 kB / 0.8048 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.8884, allocations: 0.525 MB / 0.8053 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.8884, allocations: 0.7188 kB / 0.8053 GB, free: 38.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.8887, allocations: 151.8 kB / 0.8054 GB, free: 38.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.8892, allocations: 60.64 kB / 0.8055 GB, free: 38.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.8908, allocations: 0.8296 MB / 0.8063 GB, free: 38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.8912, allocations: 0.7966 MB / 0.8071 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00025/0.8914, allocations: 74.36 kB / 0.8071 GB, free: 37.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.47e-05/0.8915, allocations: 22.52 kB / 0.8071 GB, free: 37.28 MB / 0.6544 GB Notification: Performance of SimCode: time 1.002e-06/0.8915, allocations: 0 / 0.8071 GB, free: 37.28 MB / 0.6544 GB Notification: Performance of Templates: time 0.01038/0.9019, allocations: 3.979 MB / 0.811 GB, free: 37.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)