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.001109/0.001109, allocations: 98.86 kB / 16.35 MB, free: 5.828 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.001021/0.001021, allocations: 193.4 kB / 17.29 MB, free: 5.484 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 293 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8972/0.8972, allocations: 169.2 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 94.67 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1517, allocations: 86.98 MB / 0.6816 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004527/0.1563, allocations: 3.251 MB / 0.6848 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002707/0.159, allocations: 1.866 MB / 0.6866 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1592, allocations: 4 kB / 0.6866 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000842/0.16, allocations: 286.8 kB / 0.6869 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.1605, allocations: 215 kB / 0.6871 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.1611, allocations: 287.2 kB / 0.6874 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000421/0.1615, allocations: 414.7 kB / 0.6878 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.1618, allocations: 200.2 kB / 0.6879 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.162, allocations: 163.4 kB / 0.6881 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.1623, allocations: 199.3 kB / 0.6883 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.1624, allocations: 24 kB / 0.6883 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.1627, allocations: 231.6 kB / 0.6885 GB, free: 296 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1629, allocations: 123.7 kB / 0.6887 GB, free: 172 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.163, allocations: 147.3 kB / 0.6888 GB, free: 24 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2504/0.4135, allocations: 462.6 kB / 0.6892 GB, free: 13.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4135, allocations: 0.5 kB / 0.6892 GB, free: 13.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4135, allocations: 0.5312 kB / 0.6892 GB, free: 13.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.4135, allocations: 3.047 kB / 0.6892 GB, free: 13.2 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.0009559/0.4145, allocations: 0.5914 MB / 0.6898 GB, free: 12.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.4145, allocations: 10.66 kB / 0.6898 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007359/0.4153, allocations: 89.98 kB / 0.6899 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.4156, allocations: 285 kB / 0.6902 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4156, allocations: 18.12 kB / 0.6902 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.4158, allocations: 40.92 kB / 0.6902 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.4164, allocations: 444.1 kB / 0.6907 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.4164, allocations: 0.7188 kB / 0.6907 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.4164, allocations: 14.45 kB / 0.6907 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.4166, allocations: 39.77 kB / 0.6907 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.4171, allocations: 351.2 kB / 0.6911 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.4192, allocations: 2.197 MB / 0.6932 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.4196, allocations: 267.1 kB / 0.6935 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.4198, allocations: 167.6 kB / 0.6936 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.4199, allocations: 6.875 kB / 0.6936 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.4199, allocations: 35.06 kB / 0.6937 GB, free: 10.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.312e-06/0.4199, allocations: 1.406 kB / 0.6937 GB, free: 10.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.001627/0.4215, allocations: 1.058 MB / 0.6947 GB, free: 10.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.4216, allocations: 54.28 kB / 0.6947 GB, free: 10.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.4218, allocations: 249.4 kB / 0.695 GB, free: 10.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.4218, allocations: 30.58 kB / 0.695 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.4219, allocations: 185.5 kB / 0.6952 GB, free: 10.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.422, allocations: 84.08 kB / 0.6953 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.4221, allocations: 77.2 kB / 0.6953 GB, free: 9.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.4222, allocations: 336.2 kB / 0.6957 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.4224, allocations: 149.9 kB / 0.6958 GB, free: 9.676 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.4227, allocations: 238.5 kB / 0.696 GB, free: 9.582 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.4231, allocations: 407.3 kB / 0.6964 GB, free: 9.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4231, allocations: 0.9375 kB / 0.6964 GB, free: 9.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001037/0.4242, allocations: 0.593 MB / 0.697 GB, free: 9.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.4242, allocations: 6.281 kB / 0.697 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4242, allocations: 3.438 kB / 0.697 GB, free: 9.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/0.4249, allocations: 188.4 kB / 0.6972 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.4251, allocations: 63.48 kB / 0.6972 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.4275, allocations: 2.492 MB / 0.6997 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.4278, allocations: 16.39 kB / 0.6997 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.4279, allocations: 16.44 kB / 0.6997 GB, free: 7.531 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.0001331/0.428, allocations: 168.1 kB / 0.6999 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.4281, allocations: 31.58 kB / 0.6999 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/0.4286, allocations: 350.1 kB / 0.7002 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4286, allocations: 3.312 kB / 0.7002 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.4286, allocations: 3.562 kB / 0.7002 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4286, allocations: 1.172 kB / 0.7002 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009939/0.4296, allocations: 0.8143 MB / 0.701 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4296, allocations: 8.125 kB / 0.701 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.43, allocations: 75.72 kB / 0.7011 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.43, allocations: 1.312 kB / 0.7011 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.43, allocations: 8.406 kB / 0.7011 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4301, allocations: 2.438 kB / 0.7011 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4301, allocations: 1.375 kB / 0.7011 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.4307, allocations: 0.6154 MB / 0.7017 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.4309, allocations: 124.6 kB / 0.7019 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.4309, allocations: 8.938 kB / 0.7019 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.4311, allocations: 13.73 kB / 0.7019 GB, free: 6.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.4312, allocations: 14.98 kB / 0.7019 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.4312, allocations: 9.969 kB / 0.7019 GB, free: 6.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.4313, allocations: 178.5 kB / 0.7021 GB, free: 6.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4313, allocations: 0 / 0.7021 GB, free: 6.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003882/0.4317, allocations: 88.91 kB / 0.7022 GB, free: 6.148 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.000118/0.4318, allocations: 117.8 kB / 0.7023 GB, free: 6.055 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007745/0.4326, allocations: 0.5276 MB / 0.7028 GB, free: 5.805 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4326, allocations: 4.188 kB / 0.7028 GB, free: 5.801 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.4328, allocations: 148.3 kB / 0.7029 GB, free: 5.762 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.4333, allocations: 61.41 kB / 0.703 GB, free: 5.738 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.4345, allocations: 0.8396 MB / 0.7038 GB, free: 5.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.4347, allocations: 0.7959 MB / 0.7046 GB, free: 4.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.4349, allocations: 78.97 kB / 0.7047 GB, free: 4.531 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.496e-05/0.435, allocations: 23.72 kB / 0.7047 GB, free: 4.527 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.435, allocations: 0 / 0.7047 GB, free: 4.527 MB / 494.1 MB Notification: Performance of Templates: time 0.007761/0.4427, allocations: 3.987 MB / 0.7086 GB, free: 4.285 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)