Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001456/0.001456, allocations: 104.3 kB / 15.98 MB, free: 6.332 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.001664/0.001664, allocations: 197.1 kB / 16.91 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8406/0.8406, allocations: 122.9 MB / 413.6 MB, free: 48 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002482/0.002482, allocations: 55.91 kB / 0.4906 GB, free: 7.863 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3838, allocations: 77.91 MB / 0.5667 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004193/0.388, allocations: 3.306 MB / 0.5699 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00284/0.3909, allocations: 1.994 MB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.3911, allocations: 9.469 kB / 0.5719 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008761/0.392, allocations: 263.7 kB / 0.5721 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004997/0.3925, allocations: 223.7 kB / 0.5723 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.3931, allocations: 260.8 kB / 0.5726 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.3935, allocations: 416.4 kB / 0.573 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004349/0.394, allocations: 225.8 kB / 0.5732 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.3942, allocations: 161.2 kB / 0.5734 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.3945, allocations: 205 kB / 0.5735 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.3946, allocations: 24.75 kB / 0.5736 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.395, allocations: 273.5 kB / 0.5738 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3951, allocations: 113.3 kB / 0.5739 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.3953, allocations: 148.4 kB / 0.5741 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005893/0.3959, allocations: 0.4968 MB / 0.5746 GB, free: 28.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3959, allocations: 0 / 0.5746 GB, free: 28.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3959, allocations: 0 / 0.5746 GB, free: 28.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.3959, allocations: 1.688 kB / 0.5746 GB, free: 28.02 MB / 446.1 MB 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.0009715/0.3969, allocations: 0.5977 MB / 0.5752 GB, free: 27.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3969, allocations: 9.75 kB / 0.5752 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.3979, allocations: 120.2 kB / 0.5753 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.3984, allocations: 275.8 kB / 0.5755 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.3984, allocations: 24.77 kB / 0.5756 GB, free: 27.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.3985, allocations: 31.78 kB / 0.5756 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007109/0.3993, allocations: 456.3 kB / 0.576 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3993, allocations: 4.25 kB / 0.576 GB, free: 27.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.3993, allocations: 10.75 kB / 0.576 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.3995, allocations: 43.98 kB / 0.5761 GB, free: 26.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/0.4001, allocations: 360.8 kB / 0.5764 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.4025, allocations: 2.228 MB / 0.5786 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.4029, allocations: 265.5 kB / 0.5789 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.4031, allocations: 161 kB / 0.579 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.4032, allocations: 3.156 kB / 0.579 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.4032, allocations: 36.81 kB / 0.579 GB, free: 24.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.754e-06/0.4032, allocations: 4.844 kB / 0.5791 GB, free: 24.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001883/0.4051, allocations: 1.056 MB / 0.5801 GB, free: 24.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.4051, allocations: 54.66 kB / 0.5801 GB, free: 24.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.4055, allocations: 257.4 kB / 0.5804 GB, free: 23.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.4055, allocations: 31.17 kB / 0.5804 GB, free: 23.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.4056, allocations: 194.9 kB / 0.5806 GB, free: 23.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.4057, allocations: 81.39 kB / 0.5807 GB, free: 23.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.4058, allocations: 78.89 kB / 0.5808 GB, free: 23.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.4059, allocations: 333.8 kB / 0.5811 GB, free: 23.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.4061, allocations: 156.2 kB / 0.5812 GB, free: 23.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.4065, allocations: 248.9 kB / 0.5815 GB, free: 23.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/0.4071, allocations: 410.6 kB / 0.5818 GB, free: 22.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4071, allocations: 1.938 kB / 0.5818 GB, free: 22.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001201/0.4083, allocations: 0.6079 MB / 0.5824 GB, free: 22.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.4083, allocations: 8.469 kB / 0.5825 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.4083, allocations: 2.094 kB / 0.5825 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006864/0.409, allocations: 184.2 kB / 0.5826 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.4094, allocations: 65.67 kB / 0.5827 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.4119, allocations: 2.496 MB / 0.5851 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.4123, allocations: 25.94 kB / 0.5852 GB, free: 20.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.4123, allocations: 13.88 kB / 0.5852 GB, free: 20.44 MB / 446.1 MB 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.000165/0.4125, allocations: 165.2 kB / 0.5853 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.4126, allocations: 24.19 kB / 0.5853 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/0.4131, allocations: 359.6 kB / 0.5857 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4131, allocations: 2.531 kB / 0.5857 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.4131, allocations: 7.922 kB / 0.5857 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4131, allocations: 1.469 kB / 0.5857 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009264/0.414, allocations: 0.8117 MB / 0.5865 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4141, allocations: 2.531 kB / 0.5865 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.4145, allocations: 77.53 kB / 0.5866 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4145, allocations: 1.281 kB / 0.5866 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.4145, allocations: 8.078 kB / 0.5866 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4145, allocations: 2.188 kB / 0.5866 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4145, allocations: 6.516 kB / 0.5866 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.4151, allocations: 0.6102 MB / 0.5872 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4153, allocations: 127.4 kB / 0.5873 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.4153, allocations: 12.45 kB / 0.5873 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.4156, allocations: 15.36 kB / 0.5873 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.4156, allocations: 16.3 kB / 0.5873 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.4157, allocations: 9.656 kB / 0.5874 GB, free: 18.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.4158, allocations: 188.8 kB / 0.5875 GB, free: 18.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4158, allocations: 0 / 0.5875 GB, free: 18.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004236/0.4163, allocations: 91.06 kB / 0.5876 GB, free: 18.73 MB / 446.1 MB 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.0001345/0.4164, allocations: 113.1 kB / 0.5877 GB, free: 18.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009215/0.4173, allocations: 0.5726 MB / 0.5883 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.4174, allocations: 0 / 0.5883 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.4175, allocations: 151.3 kB / 0.5884 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.418, allocations: 48.47 kB / 0.5885 GB, free: 18.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.4193, allocations: 0.9502 MB / 0.5894 GB, free: 17.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.4195, allocations: 0.7911 MB / 0.5902 GB, free: 16.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000238/0.4198, allocations: 86.67 kB / 0.5903 GB, free: 16.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.4198, allocations: 23.09 kB / 0.5903 GB, free: 16.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4199, allocations: 3.938 kB / 0.5903 GB, free: 16.7 MB / 446.1 MB Notification: Performance of Templates: time 0.006881/0.4267, allocations: 4.121 MB / 0.5943 GB, free: 13.96 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)