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.001554/0.001554, allocations: 111.1 kB / 16.41 MB, free: 6.016 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.001509/0.001509, allocations: 186.6 kB / 17.34 MB, free: 5.629 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.415/1.415, 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.002682/0.002682, allocations: 288.4 kB / 291.5 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 1.005/1.005, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4683/0.471, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004999/0.476, allocations: 3.273 MB / 0.7702 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.4792, allocations: 1.854 MB / 0.7721 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.4794, allocations: 7.938 kB / 0.7721 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000943/0.4803, allocations: 304.7 kB / 0.7723 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.4808, allocations: 215 kB / 0.7726 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006748/0.4815, allocations: 283.4 kB / 0.7728 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.482, allocations: 410.7 kB / 0.7732 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.4823, allocations: 174.2 kB / 0.7734 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.4825, allocations: 167.4 kB / 0.7735 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.4829, allocations: 199.3 kB / 0.7737 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.4829, allocations: 24 kB / 0.7738 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.4833, allocations: 239.5 kB / 0.774 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.4834, allocations: 115.7 kB / 0.7741 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.4836, allocations: 147.2 kB / 0.7742 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000585/0.4842, allocations: 472.2 kB / 0.7747 GB, free: 12.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4842, allocations: 0 / 0.7747 GB, free: 12.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4842, allocations: 0 / 0.7747 GB, free: 12.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.4842, allocations: 4 kB / 0.7747 GB, free: 12.08 MB / 0.545 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.001075/0.4853, allocations: 0.5998 MB / 0.7753 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.4853, allocations: 8.031 kB / 0.7753 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/0.4861, allocations: 92.66 kB / 0.7754 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.4865, allocations: 288.5 kB / 0.7756 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.4865, allocations: 12.94 kB / 0.7757 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.4866, allocations: 40.72 kB / 0.7757 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.4873, allocations: 445.1 kB / 0.7761 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.4874, allocations: 4 kB / 0.7761 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.4874, allocations: 15.97 kB / 0.7761 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/0.4875, allocations: 36.53 kB / 0.7762 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005598/0.4881, allocations: 349.9 kB / 0.7765 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.4907, allocations: 2.203 MB / 0.7787 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.4912, allocations: 246.3 kB / 0.7789 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.4914, allocations: 145.3 kB / 0.779 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.4914, allocations: 0 / 0.779 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.4915, allocations: 38.56 kB / 0.7791 GB, free: 7.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.092e-06/0.4915, allocations: 4 kB / 0.7791 GB, free: 7.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.001882/0.4934, allocations: 1.056 MB / 0.7801 GB, free: 6.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.4934, allocations: 55.27 kB / 0.7802 GB, free: 6.059 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.4937, allocations: 253 kB / 0.7804 GB, free: 5.809 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.4937, allocations: 33.7 kB / 0.7804 GB, free: 5.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.4938, allocations: 184.4 kB / 0.7806 GB, free: 5.586 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.4939, allocations: 91.27 kB / 0.7807 GB, free: 5.496 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.494, allocations: 81.59 kB / 0.7808 GB, free: 5.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4942, allocations: 334.8 kB / 0.7811 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.4944, allocations: 155.8 kB / 0.7812 GB, free: 4.922 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.4948, allocations: 233.6 kB / 0.7815 GB, free: 4.656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.4953, allocations: 398.8 kB / 0.7818 GB, free: 4.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4953, allocations: 0 / 0.7818 GB, free: 4.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001152/0.4965, allocations: 0.586 MB / 0.7824 GB, free: 3.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.4965, allocations: 14.8 kB / 0.7824 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.4965, allocations: 7.938 kB / 0.7824 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007141/0.4972, allocations: 185 kB / 0.7826 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.4975, allocations: 63.91 kB / 0.7827 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/0.5008, allocations: 2.504 MB / 0.7851 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.5011, allocations: 15.98 kB / 0.7851 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.5011, allocations: 16 kB / 0.7851 GB, free: 0.6953 MB / 0.545 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.0001961/0.5013, allocations: 165.8 kB / 0.7853 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.5014, allocations: 27.8 kB / 0.7853 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005914/0.502, allocations: 351.6 kB / 0.7857 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.502, allocations: 0 / 0.7857 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.502, allocations: 4 kB / 0.7857 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.502, allocations: 3.984 kB / 0.7857 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.5032, allocations: 0.8179 MB / 0.7865 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5032, allocations: 0 / 0.7865 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.5036, allocations: 79.88 kB / 0.7866 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5036, allocations: 0 / 0.7866 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.5036, allocations: 11.98 kB / 0.7866 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5036, allocations: 0 / 0.7866 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5036, allocations: 4 kB / 0.7866 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.5044, allocations: 0.6144 MB / 0.7872 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.5046, allocations: 129 kB / 0.7873 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.5046, allocations: 4 kB / 0.7873 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.5048, allocations: 15.98 kB / 0.7873 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.5049, allocations: 19.86 kB / 0.7873 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.5049, allocations: 8 kB / 0.7873 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001883/0.5051, allocations: 180.5 kB / 0.7875 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5051, allocations: 4 kB / 0.7875 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004254/0.5055, allocations: 88 kB / 0.7876 GB, free: 14.07 MB / 0.5606 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.0001624/0.5057, allocations: 107.2 kB / 0.7877 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009354/0.5066, allocations: 0.5082 MB / 0.7882 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5066, allocations: 0 / 0.7882 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.5068, allocations: 139.8 kB / 0.7883 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.5073, allocations: 66.33 kB / 0.7884 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.5088, allocations: 0.8438 MB / 0.7892 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.5092, allocations: 0.7989 MB / 0.79 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002071/0.5094, allocations: 74.91 kB / 0.7901 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.324e-05/0.5095, allocations: 27.42 kB / 0.7901 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.5095, allocations: 0 / 0.7901 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of Templates: time 0.00863/0.5182, allocations: 4.076 MB / 0.7941 GB, free: 7.387 MB / 0.5606 GB 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)