Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.963/1.963, allocations: 288.3 MB / 303.2 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 190.1 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009044/0.0009046, allocations: 96.19 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004297, allocations: 10.75 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2906, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003717/0.2944, allocations: 2.766 MB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.2966, allocations: 1.716 MB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.2967, allocations: 7.938 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.2969, allocations: 39.75 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.2973, allocations: 143.5 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.2978, allocations: 232.9 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.2981, allocations: 231.5 kB / 0.9844 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006425/0.2987, allocations: 441.2 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.2989, allocations: 119.6 kB / 0.985 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.2992, allocations: 135.5 kB / 0.9851 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.2992, allocations: 12 kB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.2994, allocations: 123.8 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.834e-05/0.2995, allocations: 103.7 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.2996, allocations: 73.58 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.2999, allocations: 351.3 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2999, allocations: 0 / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3, allocations: 4 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3, allocations: 4 kB / 0.9857 GB, free: 21.18 MB / 0.6198 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.0009225/0.3009, allocations: 0.534 MB / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3009, allocations: 12.03 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007361/0.3017, allocations: 103.5 kB / 0.9864 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.302, allocations: 265.1 kB / 0.9866 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3021, allocations: 28.48 kB / 0.9866 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.3022, allocations: 35.92 kB / 0.9867 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.3027, allocations: 445.1 kB / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3027, allocations: 0 / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.3028, allocations: 12 kB / 0.9871 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.3029, allocations: 36.53 kB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.3034, allocations: 353.9 kB / 0.9875 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.3053, allocations: 2.199 MB / 0.9896 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.3057, allocations: 263.8 kB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.3057, allocations: 8.125 kB / 0.9899 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.3058, allocations: 38.75 kB / 0.9899 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.312e-06/0.3058, allocations: 0 / 0.9899 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001479/0.3073, allocations: 1.061 MB / 0.991 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.3073, allocations: 55.41 kB / 0.991 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.3075, allocations: 244.9 kB / 0.9913 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.3075, allocations: 33.7 kB / 0.9913 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.3076, allocations: 183.9 kB / 0.9915 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.3077, allocations: 82.84 kB / 0.9915 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.3077, allocations: 12 kB / 0.9916 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.3078, allocations: 330.8 kB / 0.9919 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.308, allocations: 155.9 kB / 0.992 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.3082, allocations: 229.6 kB / 0.9922 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.3084, allocations: 189.2 kB / 0.9924 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3084, allocations: 0 / 0.9924 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009044/0.3093, allocations: 0.5889 MB / 0.993 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3094, allocations: 8 kB / 0.993 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3094, allocations: 3.938 kB / 0.993 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006266/0.31, allocations: 188.8 kB / 0.9932 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3103, allocations: 63.89 kB / 0.9932 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.3126, allocations: 2.354 MB / 0.9955 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.3128, allocations: 16.02 kB / 0.9956 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.3129, allocations: 19.98 kB / 0.9956 GB, free: 10.48 MB / 0.6198 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.0001939/0.3131, allocations: 157.8 kB / 0.9957 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.3131, allocations: 27.67 kB / 0.9958 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.3137, allocations: 355.6 kB / 0.9961 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3137, allocations: 7.984 kB / 0.9961 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.3137, allocations: 0 / 0.9961 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3137, allocations: 3.938 kB / 0.9961 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000929/0.3146, allocations: 0.8108 MB / 0.9969 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3146, allocations: 0 / 0.9969 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.315, allocations: 75.94 kB / 0.997 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.315, allocations: 3.938 kB / 0.997 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.3151, allocations: 12.06 kB / 0.997 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3151, allocations: 0 / 0.997 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3151, allocations: 0 / 0.997 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.3157, allocations: 0.6323 MB / 0.9976 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.3158, allocations: 128.8 kB / 0.9977 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.3159, allocations: 11.98 kB / 0.9977 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.3161, allocations: 8 kB / 0.9977 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3161, allocations: 19.91 kB / 0.9978 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.3162, allocations: 15.95 kB / 0.9978 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001504/0.3163, allocations: 172.5 kB / 0.9979 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3163, allocations: 0 / 0.9979 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003847/0.3167, allocations: 88 kB / 0.998 GB, free: 7.84 MB / 0.6198 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.0001557/0.3169, allocations: 127.1 kB / 0.9981 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007899/0.3177, allocations: 0.5216 MB / 0.9987 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3177, allocations: 0.625 kB / 0.9987 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.3179, allocations: 155.9 kB / 0.9988 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.3182, allocations: 48.05 kB / 0.9988 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.3196, allocations: 0.9988 MB / 0.9998 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.3199, allocations: 0.8029 MB / 1.001 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002106/0.3201, allocations: 74.91 kB / 1.001 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.3202, allocations: 27.38 kB / 1.001 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.3202, allocations: 0 / 1.001 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.007087/0.3273, allocations: 3.644 MB / 1.004 GB, free: 1.395 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)