Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001479, allocations: 112.8 kB / 16.42 MB, free: 6.516 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.001736/0.001736, allocations: 190.7 kB / 17.35 MB, free: 5.73 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.37/1.37, 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.002152/0.002152, allocations: 283.9 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 0.9812/0.9812, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 99.83 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.568/0.57, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006446/0.5765, allocations: 3.062 MB / 0.77 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004381/0.5809, allocations: 1.905 MB / 0.7719 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.5813, allocations: 8 kB / 0.7719 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.5826, allocations: 282.9 kB / 0.7722 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007325/0.5833, allocations: 195.1 kB / 0.7724 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.5844, allocations: 247.2 kB / 0.7726 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008331/0.5852, allocations: 330.7 kB / 0.7729 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005093/0.5857, allocations: 173 kB / 0.7731 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.5861, allocations: 135.5 kB / 0.7732 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004345/0.5866, allocations: 147.5 kB / 0.7733 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.5867, allocations: 20 kB / 0.7734 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000804/0.5875, allocations: 407.2 kB / 0.7737 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.5876, allocations: 91.73 kB / 0.7738 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.5878, allocations: 123.4 kB / 0.7739 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.5888, allocations: 489.1 kB / 0.7744 GB, free: 12.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.5888, allocations: 0 / 0.7744 GB, free: 12.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5889, allocations: 0 / 0.7744 GB, free: 12.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.5889, allocations: 0 / 0.7744 GB, free: 12.34 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001577/0.5905, allocations: 0.5576 MB / 0.775 GB, free: 11.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.5905, allocations: 8.031 kB / 0.775 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.5915, allocations: 108.5 kB / 0.7751 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.5921, allocations: 270.4 kB / 0.7753 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.5921, allocations: 28.73 kB / 0.7754 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.5922, allocations: 20.36 kB / 0.7754 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009093/0.5931, allocations: 353.5 kB / 0.7757 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.5931, allocations: 3.938 kB / 0.7757 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.5932, allocations: 4 kB / 0.7757 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.746e-05/0.5932, allocations: 32.42 kB / 0.7758 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.5937, allocations: 289.5 kB / 0.776 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.5962, allocations: 1.737 MB / 0.7777 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.5968, allocations: 322.2 kB / 0.778 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.5969, allocations: 101.7 kB / 0.7781 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.5971, allocations: 93.03 kB / 0.7782 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.5971, allocations: 38.5 kB / 0.7783 GB, free: 8.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.5972, allocations: 0 / 0.7783 GB, free: 8.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002683/0.5998, allocations: 0.9635 MB / 0.7792 GB, free: 7.062 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.5999, allocations: 85.05 kB / 0.7793 GB, free: 6.961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.6001, allocations: 207.8 kB / 0.7795 GB, free: 6.746 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.6002, allocations: 33.69 kB / 0.7795 GB, free: 6.707 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.6003, allocations: 172.1 kB / 0.7797 GB, free: 6.535 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.6004, allocations: 86.83 kB / 0.7798 GB, free: 6.449 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.6005, allocations: 61.61 kB / 0.7798 GB, free: 6.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6006, allocations: 330.8 kB / 0.7801 GB, free: 6.051 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.6008, allocations: 127.9 kB / 0.7802 GB, free: 5.926 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.6011, allocations: 209.4 kB / 0.7804 GB, free: 5.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/0.6016, allocations: 367.6 kB / 0.7808 GB, free: 5.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6016, allocations: 3.938 kB / 0.7808 GB, free: 5.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008705/0.6025, allocations: 0.504 MB / 0.7813 GB, free: 4.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.6025, allocations: 4 kB / 0.7813 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.6025, allocations: 7.938 kB / 0.7813 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005561/0.6031, allocations: 155.6 kB / 0.7815 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.6034, allocations: 55.91 kB / 0.7815 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/0.6069, allocations: 4.194 MB / 0.7856 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.6071, allocations: 19.97 kB / 0.7856 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.6072, allocations: 12 kB / 0.7856 GB, free: 15.98 MB / 0.5606 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.6074, allocations: 166.4 kB / 0.7858 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/0.6075, allocations: 23.81 kB / 0.7858 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008586/0.6083, allocations: 474.4 kB / 0.7863 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6083, allocations: 7.922 kB / 0.7863 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6084, allocations: 8 kB / 0.7863 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.6085, allocations: 120.9 kB / 0.7864 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.6086, allocations: 4 kB / 0.7864 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.6088, allocations: 15.98 kB / 0.7864 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.6088, allocations: 19.97 kB / 0.7864 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001098/0.6099, allocations: 0.6273 MB / 0.7871 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007541/0.6107, allocations: 0.728 MB / 0.7878 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002087/0.6109, allocations: 144 kB / 0.7879 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001437/0.6111, allocations: 162.1 kB / 0.7881 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of Backend: time 3.51e-07/0.6111, allocations: 0 / 0.7881 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.6129, allocations: 0.738 MB / 0.7888 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001239/0.6141, allocations: 0.9999 MB / 0.7898 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.01098/0.6251, allocations: 5.685 MB / 0.7953 GB, free: 5.973 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)