Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00123/0.00123, allocations: 105.2 kB / 15.99 MB, free: 6.352 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.001169/0.001169, allocations: 195.5 kB / 16.91 MB, free: 6.188 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.227/1.227, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 284 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9117/0.9117, allocations: 169.2 MB / 0.4985 GB, free: 4.641 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 89.39 kB / 0.5953 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1568, allocations: 86.98 MB / 0.6803 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004401/0.1613, allocations: 3.289 MB / 0.6835 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.164, allocations: 1.85 MB / 0.6853 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.1641, allocations: 7.938 kB / 0.6853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008123/0.165, allocations: 275 kB / 0.6856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.1654, allocations: 199.2 kB / 0.6858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.166, allocations: 258.4 kB / 0.686 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004037/0.1664, allocations: 410.7 kB / 0.6864 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.1668, allocations: 224.2 kB / 0.6866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.167, allocations: 171.4 kB / 0.6868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.1673, allocations: 203.3 kB / 0.687 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.1673, allocations: 24 kB / 0.687 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.1677, allocations: 235.5 kB / 0.6872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1678, allocations: 115.7 kB / 0.6873 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1679, allocations: 147.3 kB / 0.6875 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.1683, allocations: 367.1 kB / 0.6878 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1683, allocations: 4 kB / 0.6878 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1683, allocations: 0 / 0.6878 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1683, allocations: 4 kB / 0.6878 GB, free: 0.7969 MB / 494.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.0009666/0.1693, allocations: 0.5888 MB / 0.6884 GB, free: 164 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.1693, allocations: 8.031 kB / 0.6884 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007166/0.1701, allocations: 92.47 kB / 0.6885 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2242/0.3943, allocations: 274.6 kB / 0.6888 GB, free: 18.38 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.3943, allocations: 19.36 kB / 0.6888 GB, free: 18.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.3945, allocations: 40.08 kB / 0.6888 GB, free: 18.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.3952, allocations: 444.2 kB / 0.6892 GB, free: 18.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.3952, allocations: 4.781 kB / 0.6892 GB, free: 18.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.3953, allocations: 11.75 kB / 0.6893 GB, free: 18.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/0.3954, allocations: 43 kB / 0.6893 GB, free: 18.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.396, allocations: 348.2 kB / 0.6896 GB, free: 18.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.3981, allocations: 2.199 MB / 0.6918 GB, free: 16.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.3985, allocations: 274.6 kB / 0.692 GB, free: 16.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.3987, allocations: 164.2 kB / 0.6922 GB, free: 16.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.3988, allocations: 2.312 kB / 0.6922 GB, free: 16.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3988, allocations: 37.11 kB / 0.6922 GB, free: 16.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 2.094e-06/0.3988, allocations: 0 / 0.6922 GB, free: 16.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001692/0.4005, allocations: 1.058 MB / 0.6933 GB, free: 15.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.4005, allocations: 61 kB / 0.6933 GB, free: 15.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.4008, allocations: 246.5 kB / 0.6936 GB, free: 15.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.4008, allocations: 32.09 kB / 0.6936 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.4009, allocations: 186.4 kB / 0.6938 GB, free: 15.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.401, allocations: 91.67 kB / 0.6939 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4011, allocations: 75.7 kB / 0.6939 GB, free: 15.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.245e-05/0.4011, allocations: 339.7 kB / 0.6943 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.4014, allocations: 151.3 kB / 0.6944 GB, free: 14.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.4016, allocations: 235.2 kB / 0.6946 GB, free: 14.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.4021, allocations: 397.8 kB / 0.695 GB, free: 14.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4021, allocations: 5.062 kB / 0.695 GB, free: 14.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001099/0.4032, allocations: 0.5902 MB / 0.6956 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4032, allocations: 11.84 kB / 0.6956 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.4033, allocations: 7.625 kB / 0.6956 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007007/0.404, allocations: 185.8 kB / 0.6958 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.4043, allocations: 63.31 kB / 0.6958 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/0.4068, allocations: 2.489 MB / 0.6983 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.4072, allocations: 15.94 kB / 0.6983 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.4072, allocations: 16.38 kB / 0.6983 GB, free: 12.33 MB / 494.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.0001584/0.4074, allocations: 164.8 kB / 0.6985 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.4074, allocations: 22.47 kB / 0.6985 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005176/0.4079, allocations: 361 kB / 0.6988 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.408, allocations: 4.281 kB / 0.6988 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.408, allocations: 0 / 0.6988 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.408, allocations: 7.078 kB / 0.6988 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009806/0.409, allocations: 0.81 MB / 0.6996 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.409, allocations: 13 kB / 0.6996 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/0.4094, allocations: 72.44 kB / 0.6997 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4094, allocations: 3.453 kB / 0.6997 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.4094, allocations: 7.312 kB / 0.6997 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4094, allocations: 2.578 kB / 0.6997 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4094, allocations: 1.125 kB / 0.6997 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006876/0.4101, allocations: 0.6133 MB / 0.7003 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4102, allocations: 129.5 kB / 0.7004 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.4103, allocations: 8.141 kB / 0.7005 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.4105, allocations: 9.859 kB / 0.7005 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.4105, allocations: 16.52 kB / 0.7005 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.4106, allocations: 4.719 kB / 0.7005 GB, free: 11.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.4107, allocations: 182.4 kB / 0.7007 GB, free: 10.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4107, allocations: 0 / 0.7007 GB, free: 10.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004372/0.4112, allocations: 89.31 kB / 0.7007 GB, free: 10.93 MB / 494.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.0001363/0.4113, allocations: 110 kB / 0.7008 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009098/0.4122, allocations: 0.5664 MB / 0.7014 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4123, allocations: 4.875 kB / 0.7014 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.4125, allocations: 148.9 kB / 0.7015 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.4129, allocations: 53.5 kB / 0.7016 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.4143, allocations: 0.9854 MB / 0.7026 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.4146, allocations: 0.7969 MB / 0.7033 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/0.4147, allocations: 25.98 kB / 0.7034 GB, free: 9.148 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4147, allocations: 1.781 kB / 0.7034 GB, free: 9.148 MB / 494.1 MB Notification: Performance of Templates: time 0.007513/0.4222, allocations: 4.441 MB / 0.7077 GB, free: 8.789 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)