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.0009942/0.0009942, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001048/0.001048, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.633/1.633, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005697/0.0005701, allocations: 17.25 kB / 0.6736 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2879, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003544/0.2915, allocations: 2.766 MB / 0.7898 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.2942, allocations: 1.708 MB / 0.7915 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.2944, allocations: 8 kB / 0.7915 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.2946, allocations: 39.7 kB / 0.7915 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.2951, allocations: 147.5 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007531/0.2958, allocations: 238.9 kB / 0.7919 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.2963, allocations: 235.5 kB / 0.7921 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008388/0.2971, allocations: 433.2 kB / 0.7925 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.2974, allocations: 115.6 kB / 0.7926 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.2978, allocations: 135.5 kB / 0.7928 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.2978, allocations: 15.94 kB / 0.7928 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.2982, allocations: 123.8 kB / 0.7929 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.2983, allocations: 103.8 kB / 0.793 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.847e-05/0.2984, allocations: 77.52 kB / 0.7931 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.2989, allocations: 355.3 kB / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2989, allocations: 0 / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2989, allocations: 0 / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.2989, allocations: 4 kB / 0.7934 GB, free: 5.473 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.001041/0.3, allocations: 0.5328 MB / 0.7939 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3, allocations: 12.03 kB / 0.794 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008155/0.3009, allocations: 103.5 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.3013, allocations: 271.2 kB / 0.7943 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3013, allocations: 20.55 kB / 0.7943 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.3015, allocations: 31.98 kB / 0.7944 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/0.3022, allocations: 445.1 kB / 0.7948 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3022, allocations: 3.938 kB / 0.7948 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.3023, allocations: 11.98 kB / 0.7948 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/0.3024, allocations: 40.53 kB / 0.7948 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006204/0.3031, allocations: 353.9 kB / 0.7952 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.3056, allocations: 2.195 MB / 0.7973 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.3061, allocations: 269.4 kB / 0.7976 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3061, allocations: 192 / 0.7976 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3061, allocations: 38.75 kB / 0.7976 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.3061, allocations: 0 / 0.7976 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001796/0.3079, allocations: 1.054 MB / 0.7986 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.308, allocations: 67.33 kB / 0.7987 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.3083, allocations: 240.9 kB / 0.7989 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.3083, allocations: 33.7 kB / 0.799 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.3084, allocations: 187.8 kB / 0.7992 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.627e-05/0.3085, allocations: 82.84 kB / 0.7992 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.3085, allocations: 12 kB / 0.7992 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3086, allocations: 330.8 kB / 0.7996 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.3089, allocations: 151.9 kB / 0.7997 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.3092, allocations: 233.6 kB / 0.7999 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.3094, allocations: 189.3 kB / 0.8001 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3094, allocations: 3.938 kB / 0.8001 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001041/0.3105, allocations: 0.5855 MB / 0.8007 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3105, allocations: 8 kB / 0.8007 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3105, allocations: 0 / 0.8007 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007035/0.3112, allocations: 192.8 kB / 0.8009 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.3115, allocations: 59.89 kB / 0.8009 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/0.3144, allocations: 2.354 MB / 0.8032 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.3147, allocations: 16.02 kB / 0.8032 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.3147, allocations: 23.92 kB / 0.8033 GB, free: 10.76 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 (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.0002/0.3149, allocations: 161.8 kB / 0.8034 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.315, allocations: 31.66 kB / 0.8035 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005275/0.3155, allocations: 350 kB / 0.8038 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3155, allocations: 4 kB / 0.8038 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.3155, allocations: 4.062 kB / 0.8038 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3155, allocations: 0 / 0.8038 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3166, allocations: 0.8121 MB / 0.8046 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3166, allocations: 0 / 0.8046 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.317, allocations: 79.88 kB / 0.8047 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.317, allocations: 0 / 0.8047 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.3171, allocations: 4 kB / 0.8047 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.3171, allocations: 64 / 0.8047 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3171, allocations: 8 kB / 0.8047 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007819/0.3179, allocations: 0.6293 MB / 0.8053 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.318, allocations: 124.8 kB / 0.8054 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.3181, allocations: 15.98 kB / 0.8054 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.3183, allocations: 15.98 kB / 0.8054 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.3184, allocations: 11.98 kB / 0.8054 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.3184, allocations: 11.95 kB / 0.8055 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001711/0.3186, allocations: 176.5 kB / 0.8056 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3186, allocations: 0 / 0.8056 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004514/0.3191, allocations: 84 kB / 0.8057 GB, free: 8.137 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 (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.0001904/0.3192, allocations: 123.1 kB / 0.8058 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009411/0.3202, allocations: 0.5222 MB / 0.8063 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3202, allocations: 0 / 0.8063 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.3204, allocations: 156.4 kB / 0.8065 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3208, allocations: 55.39 kB / 0.8065 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.3225, allocations: 1.001 MB / 0.8075 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.323, allocations: 0.799 MB / 0.8083 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.3233, allocations: 74.91 kB / 0.8084 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.3234, allocations: 27.44 kB / 0.8084 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.3234, allocations: 0 / 0.8084 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of Templates: time 0.007221/0.3306, allocations: 3.642 MB / 0.812 GB, free: 1.684 MB / 0.6231 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: