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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.907/1.907, allocations: 292.3 MB / 308.1 MB, free: 4.27 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.001649/0.001649, allocations: 192.4 kB / 376.9 MB, free: 1.777 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.653/1.653, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 99.58 kB / 0.748 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3479, allocations: 114.6 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006453/0.3544, allocations: 3.307 MB / 0.9855 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003534/0.358, allocations: 1.875 MB / 0.9873 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.3582, allocations: 4 kB / 0.9873 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009639/0.3592, allocations: 271 kB / 0.9876 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.3597, allocations: 203.2 kB / 0.9877 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000642/0.3603, allocations: 255.5 kB / 0.988 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000616/0.3609, allocations: 0.5766 MB / 0.9886 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004407/0.3614, allocations: 205 kB / 0.9887 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.3616, allocations: 139.5 kB / 0.9889 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.362, allocations: 199.3 kB / 0.9891 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.3621, allocations: 16 kB / 0.9891 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.3626, allocations: 283.4 kB / 0.9894 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.3627, allocations: 115.7 kB / 0.9895 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.3629, allocations: 135.3 kB / 0.9896 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006091/0.3635, allocations: 478.4 kB / 0.9901 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3635, allocations: 0 / 0.9901 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3635, allocations: 0 / 0.9901 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.3635, allocations: 0 / 0.9901 GB, free: 2.309 MB / 0.7136 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.001334/0.3649, allocations: 0.5965 MB / 0.9906 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/0.365, allocations: 12.03 kB / 0.9906 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008151/0.3658, allocations: 88.56 kB / 0.9907 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.3662, allocations: 276.4 kB / 0.991 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.3663, allocations: 16.92 kB / 0.991 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.3664, allocations: 32.5 kB / 0.991 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006927/0.3671, allocations: 453 kB / 0.9915 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3671, allocations: 3.906 kB / 0.9915 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/0.3672, allocations: 8 kB / 0.9915 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.3673, allocations: 44.53 kB / 0.9915 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005415/0.3679, allocations: 353.9 kB / 0.9919 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003023/0.3709, allocations: 2.203 MB / 0.994 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.3714, allocations: 270.4 kB / 0.9943 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.3716, allocations: 164.8 kB / 0.9944 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3717, allocations: 4 kB / 0.9944 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.3717, allocations: 34.56 kB / 0.9945 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.803e-06/0.3717, allocations: 3.938 kB / 0.9945 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.002006/0.3737, allocations: 1.052 MB / 0.9955 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3738, allocations: 59.41 kB / 0.9956 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.3741, allocations: 244.9 kB / 0.9958 GB, free: 12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.3741, allocations: 33.7 kB / 0.9958 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3743, allocations: 184 kB / 0.996 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.68e-05/0.3744, allocations: 86.75 kB / 0.9961 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.3745, allocations: 77.59 kB / 0.9962 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.3747, allocations: 334.8 kB / 0.9965 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.375, allocations: 159.9 kB / 0.9966 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.3754, allocations: 237.5 kB / 0.9969 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/0.3759, allocations: 402.8 kB / 0.9972 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.376, allocations: 3.938 kB / 0.9972 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00107/0.377, allocations: 0.5887 MB / 0.9978 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.3771, allocations: 17.97 kB / 0.9978 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.3771, allocations: 0 / 0.9978 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006997/0.3778, allocations: 184.7 kB / 0.998 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.3781, allocations: 63.89 kB / 0.9981 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/0.3809, allocations: 2.296 MB / 1 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.3812, allocations: 16.09 kB / 1 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.3813, allocations: 20 kB / 1 GB, free: 7.094 MB / 0.7292 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 (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.0002265/0.3815, allocations: 161.8 kB / 1.001 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.3816, allocations: 31.66 kB / 1.001 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005917/0.3822, allocations: 355.4 kB / 1.001 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3822, allocations: 4 kB / 1.001 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.3822, allocations: 0 / 1.001 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3822, allocations: 3.984 kB / 1.001 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.3834, allocations: 0.8146 MB / 1.002 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3834, allocations: 0 / 1.002 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.3839, allocations: 79.81 kB / 1.002 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3839, allocations: 4 kB / 1.002 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.3839, allocations: 4 kB / 1.002 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.3839, allocations: 4 kB / 1.002 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3839, allocations: 0 / 1.002 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003982/0.3879, allocations: 2.664 MB / 1.004 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.3881, allocations: 128.8 kB / 1.004 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.3881, allocations: 11.94 kB / 1.004 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.3883, allocations: 11.98 kB / 1.005 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.3884, allocations: 19.86 kB / 1.005 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3884, allocations: 8 kB / 1.005 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002126/0.3887, allocations: 180.5 kB / 1.005 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3887, allocations: 4 kB / 1.005 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006317/0.3893, allocations: 112 kB / 1.005 GB, free: 2.281 MB / 0.7292 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 (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.0002676/0.3896, allocations: 103.2 kB / 1.005 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.3909, allocations: 0.5376 MB / 1.005 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3909, allocations: 0 / 1.005 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.3911, allocations: 147.9 kB / 1.006 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.3917, allocations: 53.59 kB / 1.006 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.3937, allocations: 1.145 MB / 1.007 GB, free: 244 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/0.3942, allocations: 0.7951 MB / 1.008 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002507/0.3944, allocations: 82.89 kB / 1.008 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.282e-05/0.3945, allocations: 27.44 kB / 1.008 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of SimCode: time 1.523e-06/0.3945, allocations: 0 / 1.008 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.009435/0.404, allocations: 4.52 MB / 1.012 GB, free: 10.8 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (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)