Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 114.7 kB / 16.42 MB, free: 6.031 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.001174/0.001174, allocations: 190 kB / 17.35 MB, free: 5.633 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.359/1.359, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002237/0.002237, allocations: 285.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9457/0.9457, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4817/0.4837, allocations: 86.97 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004626/0.4883, allocations: 2.892 MB / 0.7699 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0026/0.491, allocations: 1.648 MB / 0.7715 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.4912, allocations: 4 kB / 0.7715 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000858/0.4921, allocations: 235 kB / 0.7717 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004692/0.4925, allocations: 179.2 kB / 0.7719 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.4932, allocations: 241.3 kB / 0.7721 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004309/0.4936, allocations: 311 kB / 0.7724 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.494, allocations: 178 kB / 0.7726 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.4942, allocations: 127.6 kB / 0.7727 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.4946, allocations: 147.4 kB / 0.7728 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.4946, allocations: 20 kB / 0.7728 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.4951, allocations: 251.5 kB / 0.7731 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.4952, allocations: 83.78 kB / 0.7732 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.4953, allocations: 115.4 kB / 0.7733 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.4959, allocations: 417.3 kB / 0.7737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.496, allocations: 4 kB / 0.7737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.496, allocations: 0 / 0.7737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.496, allocations: 0 / 0.7737 GB, free: 13.09 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008678/0.4968, allocations: 0.5341 MB / 0.7742 GB, free: 12.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4969, allocations: 12.03 kB / 0.7742 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007173/0.4976, allocations: 88.55 kB / 0.7743 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.4979, allocations: 274.1 kB / 0.7745 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.498, allocations: 16.73 kB / 0.7746 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.498, allocations: 16.38 kB / 0.7746 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005995/0.4986, allocations: 378.6 kB / 0.7749 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.4986, allocations: 4 kB / 0.7749 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.4987, allocations: 4 kB / 0.7749 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.4987, allocations: 24.31 kB / 0.775 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/0.4993, allocations: 328.6 kB / 0.7753 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.5011, allocations: 1.724 MB / 0.777 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.5018, allocations: 321.1 kB / 0.7773 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.5021, allocations: 157.5 kB / 0.7774 GB, free: 8.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.5022, allocations: 89.11 kB / 0.7775 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.5023, allocations: 30.56 kB / 0.7775 GB, free: 8.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/0.5023, allocations: 0 / 0.7775 GB, free: 8.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.00143/0.5037, allocations: 0.5958 MB / 0.7781 GB, free: 8.188 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5038, allocations: 85.05 kB / 0.7782 GB, free: 8.086 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.504, allocations: 196.5 kB / 0.7784 GB, free: 7.887 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.504, allocations: 29.7 kB / 0.7784 GB, free: 7.852 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.5041, allocations: 167.8 kB / 0.7786 GB, free: 7.684 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.5042, allocations: 74.94 kB / 0.7787 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.5043, allocations: 65.88 kB / 0.7787 GB, free: 7.539 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5045, allocations: 326.8 kB / 0.779 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.5047, allocations: 133.9 kB / 0.7792 GB, free: 7.078 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.5051, allocations: 219.3 kB / 0.7794 GB, free: 6.828 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.5057, allocations: 367.6 kB / 0.7797 GB, free: 6.434 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5057, allocations: 4 kB / 0.7797 GB, free: 6.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007801/0.5065, allocations: 420.3 kB / 0.7801 GB, free: 6.012 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5065, allocations: 4 kB / 0.7801 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5065, allocations: 8.344 kB / 0.7801 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.5067, allocations: 40.81 kB / 0.7802 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.5071, allocations: 75.88 kB / 0.7802 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.5086, allocations: 1.611 MB / 0.7818 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.5088, allocations: 31.91 kB / 0.7818 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.5089, allocations: 12 kB / 0.7819 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00033/0.5092, allocations: 232.6 kB / 0.7821 GB, free: 3.852 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002926/0.5095, allocations: 211.9 kB / 0.7823 GB, free: 3.605 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005392/0.51, allocations: 352.9 kB / 0.7826 GB, free: 3.223 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.5101, allocations: 0 / 0.7826 GB, free: 3.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007419/0.5108, allocations: 405.8 kB / 0.783 GB, free: 2.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.5108, allocations: 8 kB / 0.783 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.5108, allocations: 4 kB / 0.783 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.511, allocations: 44.81 kB / 0.7831 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.5113, allocations: 64.2 kB / 0.7831 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.5126, allocations: 1.607 MB / 0.7847 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.5128, allocations: 27.83 kB / 0.7847 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.5129, allocations: 19.98 kB / 0.7847 GB, free: 0.8945 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.513, allocations: 192.2 kB / 0.7849 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.5131, allocations: 15.81 kB / 0.7849 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006969/0.5138, allocations: 366.3 kB / 0.7853 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5138, allocations: 4.141 kB / 0.7853 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5138, allocations: 3.984 kB / 0.7853 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.875e-05/0.5139, allocations: 124.8 kB / 0.7854 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.514, allocations: 4 kB / 0.7854 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.5142, allocations: 27.95 kB / 0.7854 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.5143, allocations: 19.91 kB / 0.7855 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008364/0.5152, allocations: 0.5006 MB / 0.7859 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008916/0.5161, allocations: 0.6905 MB / 0.7866 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002344/0.5163, allocations: 137.8 kB / 0.7868 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001318/0.5165, allocations: 155.7 kB / 0.7869 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of Backend: time 8.02e-07/0.5165, allocations: 0 / 0.7869 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.5182, allocations: 0.8308 MB / 0.7877 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0009359/0.5192, allocations: 0.8952 MB / 0.7886 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.009948/0.5291, allocations: 5.693 MB / 0.7941 GB, free: 7.125 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)