Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.772/2.772, allocations: 287.3 MB / 302.3 MB, free: 8.395 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.001578/0.001578, allocations: 182.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.444/2.444, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001157/0.001158, allocations: 89.3 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004759, allocations: 11.91 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2422, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006266/0.2485, allocations: 2.762 MB / 0.9809 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005522/0.2541, allocations: 1.716 MB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003921/0.2546, allocations: 7.938 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.2549, allocations: 39.75 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.2561, allocations: 151.5 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.2576, allocations: 224.9 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008062/0.2585, allocations: 231.5 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.2599, allocations: 437.3 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004121/0.2604, allocations: 119.6 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004705/0.2608, allocations: 127.5 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.487e-05/0.261, allocations: 12 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006708/0.2617, allocations: 131.8 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.2619, allocations: 111.6 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.262, allocations: 69.58 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008038/0.2629, allocations: 355.3 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2629, allocations: 0 / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2629, allocations: 4 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2629, allocations: 0 / 0.9845 GB, free: 21.89 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.001247/0.2642, allocations: 0.5379 MB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2643, allocations: 12.03 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.2654, allocations: 99.48 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.2659, allocations: 267.2 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.2659, allocations: 20.55 kB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.2661, allocations: 31.94 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009266/0.2671, allocations: 445.1 kB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.2671, allocations: 0 / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.2672, allocations: 11.94 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002308/0.2674, allocations: 44.47 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.2682, allocations: 349.9 kB / 0.9863 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.2717, allocations: 2.195 MB / 0.9884 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.2724, allocations: 267 kB / 0.9886 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.2724, allocations: 12.11 kB / 0.9887 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2725, allocations: 38.69 kB / 0.9887 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.766e-06/0.2725, allocations: 0 / 0.9887 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002593/0.2751, allocations: 1.059 MB / 0.9897 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.2752, allocations: 55.41 kB / 0.9898 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.2755, allocations: 244.9 kB / 0.99 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.2755, allocations: 33.7 kB / 0.9901 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2756, allocations: 187.9 kB / 0.9902 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/0.2757, allocations: 82.84 kB / 0.9903 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.2758, allocations: 12 kB / 0.9903 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.2759, allocations: 330.8 kB / 0.9906 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.2762, allocations: 147.9 kB / 0.9908 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.2766, allocations: 229.6 kB / 0.991 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.2771, allocations: 193.2 kB / 0.9912 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2771, allocations: 4 kB / 0.9912 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001678/0.2788, allocations: 0.577 MB / 0.9917 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.2788, allocations: 8.312 kB / 0.9918 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2788, allocations: 4 kB / 0.9918 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.28, allocations: 196.6 kB / 0.9919 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.2806, allocations: 59.84 kB / 0.992 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.2846, allocations: 2.359 MB / 0.9943 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.2852, allocations: 16.02 kB / 0.9943 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.2852, allocations: 16 kB / 0.9943 GB, free: 11.19 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.0002399/0.2855, allocations: 166.6 kB / 0.9945 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.2856, allocations: 27.67 kB / 0.9945 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007956/0.2864, allocations: 347.5 kB / 0.9949 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.2864, allocations: 4 kB / 0.9949 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2864, allocations: 3.984 kB / 0.9949 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2864, allocations: 0 / 0.9949 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.2879, allocations: 0.818 MB / 0.9957 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.288, allocations: 0 / 0.9957 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007486/0.2887, allocations: 71.94 kB / 0.9957 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.2888, allocations: 0 / 0.9957 GB, free: 9.688 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.2888, allocations: 8 kB / 0.9957 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.2888, allocations: 3.938 kB / 0.9957 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2888, allocations: 4 kB / 0.9957 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.2899, allocations: 0.6384 MB / 0.9964 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.2902, allocations: 124.8 kB / 0.9965 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/0.2902, allocations: 8 kB / 0.9965 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.2906, allocations: 15.98 kB / 0.9965 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.2907, allocations: 15.94 kB / 0.9965 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.2907, allocations: 15.94 kB / 0.9965 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002258/0.2909, allocations: 184.5 kB / 0.9967 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.291, allocations: 0 / 0.9967 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006177/0.2916, allocations: 84 kB / 0.9968 GB, free: 8.543 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.0001885/0.2918, allocations: 111.2 kB / 0.9969 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.2931, allocations: 0.5375 MB / 0.9974 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2931, allocations: 0 / 0.9974 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.2934, allocations: 151.8 kB / 0.9976 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.294, allocations: 40.41 kB / 0.9976 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.2963, allocations: 0.998 MB / 0.9986 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.2966, allocations: 0.8029 MB / 0.9994 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004035/0.297, allocations: 78.91 kB / 0.9994 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.2972, allocations: 27.42 kB / 0.9995 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of SimCode: time 1.232e-06/0.2972, allocations: 0 / 0.9995 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.01053/0.3077, allocations: 3.644 MB / 1.003 GB, free: 2.109 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)