Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.0009881, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001045/0.001045, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000533/0.000533, allocations: 17.03 kB / 0.6736 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2755, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006322/0.2819, allocations: 5.718 MB / 0.7927 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004221/0.2861, allocations: 2.887 MB / 0.7955 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003855/0.2865, allocations: 23.81 kB / 0.7955 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.2869, allocations: 123.1 kB / 0.7957 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009144/0.2878, allocations: 414.7 kB / 0.7961 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008173/0.2886, allocations: 331.3 kB / 0.7964 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008268/0.2894, allocations: 0.735 MB / 0.7971 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.2909, allocations: 0.921 MB / 0.798 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/0.2914, allocations: 346.8 kB / 0.7983 GB, free: 416 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004942/0.2919, allocations: 398.5 kB / 0.7987 GB, free: 16 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.292, allocations: 36.05 kB / 0.7987 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.2924, allocations: 143.8 kB / 0.7989 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.2926, allocations: 251.3 kB / 0.7991 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.2927, allocations: 173.3 kB / 0.7993 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007461/0.2935, allocations: 0.869 MB / 0.8001 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2935, allocations: 7.938 kB / 0.8001 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2935, allocations: 0 / 0.8001 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.2935, allocations: 0 / 0.8001 GB, free: 14.54 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001579/0.2951, allocations: 0.9932 MB / 0.8011 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2952, allocations: 8.031 kB / 0.8011 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.2964, allocations: 222.6 kB / 0.8013 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008221/0.2972, allocations: 0.5326 MB / 0.8018 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.2973, allocations: 45.3 kB / 0.8019 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/0.2974, allocations: 64 kB / 0.8019 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.2988, allocations: 1.073 MB / 0.803 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/0.2988, allocations: 11.83 kB / 0.803 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/0.2989, allocations: 35.98 kB / 0.803 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001788/0.2991, allocations: 81.27 kB / 0.8031 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.3003, allocations: 0.7465 MB / 0.8038 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005892/0.3062, allocations: 5.901 MB / 0.8096 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009864/0.3072, allocations: 0.5691 MB / 0.8102 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.3073, allocations: 4.438 kB / 0.8102 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3073, allocations: 39 kB / 0.8102 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/0.3073, allocations: 0 / 0.8102 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003555/0.3109, allocations: 1.988 MB / 0.8121 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.311, allocations: 55.84 kB / 0.8122 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005632/0.3115, allocations: 0.5392 MB / 0.8127 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3116, allocations: 37.69 kB / 0.8128 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.3118, allocations: 414.9 kB / 0.8132 GB, free: 440 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.312, allocations: 173.6 kB / 0.8133 GB, free: 264 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.312, allocations: 16 kB / 0.8133 GB, free: 248 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3122, allocations: 366.8 kB / 0.8137 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.3126, allocations: 277.8 kB / 0.814 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.3131, allocations: 492.9 kB / 0.8144 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.3136, allocations: 342 kB / 0.8148 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3136, allocations: 4 kB / 0.8148 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001613/0.3152, allocations: 1.079 MB / 0.8158 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3153, allocations: 8 kB / 0.8158 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3153, allocations: 8.875 kB / 0.8158 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007657/0.3161, allocations: 279.1 kB / 0.8161 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.3165, allocations: 127.8 kB / 0.8162 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/0.3223, allocations: 6.701 MB / 0.8228 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/0.3229, allocations: 36.34 kB / 0.8228 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.3229, allocations: 31.98 kB / 0.8228 GB, free: 5.855 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003941/0.3233, allocations: 249.6 kB / 0.8231 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.731e-05/0.3234, allocations: 79.14 kB / 0.8231 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.3249, allocations: 0.8846 MB / 0.824 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3249, allocations: 8 kB / 0.824 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3249, allocations: 4 kB / 0.824 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3249, allocations: 4 kB / 0.824 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.3274, allocations: 1.72 MB / 0.8257 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3274, allocations: 4 kB / 0.8257 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.3277, allocations: 63.89 kB / 0.8258 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007166/0.3284, allocations: 267.3 kB / 0.826 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.3285, allocations: 12 kB / 0.826 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005902/0.3344, allocations: 6.682 MB / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3344, allocations: 3.984 kB / 0.8326 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.3359, allocations: 1.06 MB / 0.8336 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.3362, allocations: 196.2 kB / 0.8338 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.3362, allocations: 8 kB / 0.8338 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.3366, allocations: 27.97 kB / 0.8338 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.3367, allocations: 43.89 kB / 0.8339 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.3367, allocations: 16.38 kB / 0.8339 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004215/0.3371, allocations: 379.1 kB / 0.8342 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3372, allocations: 0 / 0.8342 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000834/0.338, allocations: 224 kB / 0.8344 GB, free: 9.199 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001777/0.3382, allocations: 115.2 kB / 0.8346 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.34, allocations: 1.268 MB / 0.8358 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3401, allocations: 0 / 0.8358 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.3413, allocations: 0.8971 MB / 0.8367 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009009/0.3422, allocations: 201.6 kB / 0.8369 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.3445, allocations: 1.57 MB / 0.8384 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.3452, allocations: 1.024 MB / 0.8394 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003902/0.3456, allocations: 125.9 kB / 0.8395 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3458, allocations: 43.44 kB / 0.8396 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.3458, allocations: 0 / 0.8396 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of Templates: time 0.0167/0.3625, allocations: 10.26 MB / 0.8496 GB, free: 9.633 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: