Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.327/1.327, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 181.5 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 0.5783 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007375/0.0007375, allocations: 86.34 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003348, allocations: 12.38 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2998, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004923/0.3048, allocations: 2.836 MB / 0.9036 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003649/0.3085, allocations: 1.747 MB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.3088, allocations: 7.938 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.3091, allocations: 35.7 kB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006142/0.3097, allocations: 163.2 kB / 0.9055 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.3106, allocations: 227.5 kB / 0.9057 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005553/0.3111, allocations: 470.5 kB / 0.9062 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009017/0.3121, allocations: 437.2 kB / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.3123, allocations: 131.5 kB / 0.9067 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004141/0.3128, allocations: 191.3 kB / 0.9069 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.3128, allocations: 12 kB / 0.9069 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.3132, allocations: 131.8 kB / 0.907 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.3134, allocations: 107.7 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.384e-05/0.3135, allocations: 69.58 kB / 0.9072 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.314, allocations: 359.4 kB / 0.9076 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.314, allocations: 0 / 0.9076 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.314, allocations: 4 kB / 0.9076 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.314, allocations: 0 / 0.9076 GB, free: 56.96 MB / 0.6042 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.001242/0.3153, allocations: 0.5262 MB / 0.9081 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3153, allocations: 8.031 kB / 0.9081 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.3164, allocations: 99.47 kB / 0.9082 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.3169, allocations: 267.3 kB / 0.9084 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.3169, allocations: 24.56 kB / 0.9085 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.3171, allocations: 35.97 kB / 0.9085 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009203/0.318, allocations: 433.1 kB / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.3181, allocations: 7.844 kB / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.739e-05/0.3181, allocations: 19.98 kB / 0.9089 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/0.3184, allocations: 44.48 kB / 0.909 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007849/0.3192, allocations: 349.9 kB / 0.9093 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.3222, allocations: 2.203 MB / 0.9115 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.3228, allocations: 259 kB / 0.9117 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.3232, allocations: 169.1 kB / 0.9119 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.3232, allocations: 192 / 0.9119 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3232, allocations: 42.69 kB / 0.9119 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.357e-06/0.3233, allocations: 0 / 0.9119 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.002434/0.3257, allocations: 1.054 MB / 0.9129 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3258, allocations: 55.41 kB / 0.913 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.3261, allocations: 248.8 kB / 0.9132 GB, free: 50.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.3262, allocations: 33.7 kB / 0.9133 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3263, allocations: 187.9 kB / 0.9134 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.3264, allocations: 86.75 kB / 0.9135 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.3264, allocations: 4 kB / 0.9135 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.3265, allocations: 342.8 kB / 0.9138 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/0.3269, allocations: 147.9 kB / 0.914 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.3273, allocations: 221.6 kB / 0.9142 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.3277, allocations: 197.3 kB / 0.9144 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3277, allocations: 0 / 0.9144 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001605/0.3293, allocations: 0.5887 MB / 0.915 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.3294, allocations: 8 kB / 0.915 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3294, allocations: 0 / 0.915 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.3305, allocations: 189 kB / 0.9151 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.3309, allocations: 59.91 kB / 0.9152 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/0.3345, allocations: 2.3 MB / 0.9175 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/0.3351, allocations: 15.98 kB / 0.9175 GB, free: 46.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.3351, allocations: 19.98 kB / 0.9175 GB, free: 46.15 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002772/0.3354, allocations: 167.5 kB / 0.9176 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.3355, allocations: 23.72 kB / 0.9177 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007662/0.3363, allocations: 359.1 kB / 0.918 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3363, allocations: 0 / 0.918 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3363, allocations: 0 / 0.918 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3363, allocations: 112 / 0.918 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.3378, allocations: 0.816 MB / 0.9188 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3378, allocations: 4 kB / 0.9188 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/0.3384, allocations: 67.94 kB / 0.9189 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.3385, allocations: 8.062 kB / 0.9189 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.3385, allocations: 4 kB / 0.9189 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.3385, allocations: 4 kB / 0.9189 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3385, allocations: 3.984 kB / 0.9189 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3396, allocations: 0.6109 MB / 0.9195 GB, free: 44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.3397, allocations: 132.8 kB / 0.9196 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.3398, allocations: 11.98 kB / 0.9196 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.3402, allocations: 11.98 kB / 0.9196 GB, free: 43.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.3402, allocations: 15.98 kB / 0.9197 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.3403, allocations: 4 kB / 0.9197 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002348/0.3405, allocations: 180.5 kB / 0.9198 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3405, allocations: 3.938 kB / 0.9198 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007102/0.3413, allocations: 88 kB / 0.9199 GB, free: 43.55 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002077/0.3415, allocations: 115.2 kB / 0.92 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.3427, allocations: 0.5216 MB / 0.9205 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3428, allocations: 0 / 0.9205 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/0.3431, allocations: 152.4 kB / 0.9207 GB, free: 42.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007225/0.3438, allocations: 57.06 kB / 0.9207 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.346, allocations: 1.051 MB / 0.9218 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.3463, allocations: 0.7912 MB / 0.9225 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.3465, allocations: 31.42 kB / 0.9226 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/0.3465, allocations: 0 / 0.9226 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.009209/0.3557, allocations: 4.402 MB / 0.9269 GB, free: 36.36 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)