Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 111.6 kB / 16.41 MB, free: 6.504 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.001883/0.001883, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 286.5 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.094/1.094, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4467, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00763/0.4543, allocations: 5.459 MB / 0.7724 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004724/0.459, allocations: 2.63 MB / 0.775 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004058/0.4594, allocations: 23.81 kB / 0.775 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.4614, allocations: 0.673 MB / 0.7756 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.4625, allocations: 433.7 kB / 0.7761 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.4636, allocations: 393 kB / 0.7764 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.4647, allocations: 0.9474 MB / 0.7774 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005893/0.4653, allocations: 374.4 kB / 0.7777 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/0.4657, allocations: 382.6 kB / 0.7781 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005303/0.4663, allocations: 402.4 kB / 0.7785 GB, free: 8.223 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.474e-05/0.4663, allocations: 48 kB / 0.7785 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006809/0.467, allocations: 359.3 kB / 0.7788 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.4673, allocations: 259.2 kB / 0.7791 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.4677, allocations: 354.2 kB / 0.7794 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.4689, allocations: 0.9746 MB / 0.7804 GB, free: 6.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4689, allocations: 0 / 0.7804 GB, free: 6.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4689, allocations: 0 / 0.7804 GB, free: 6.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.4689, allocations: 0 / 0.7804 GB, free: 6.25 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001661/0.4706, allocations: 0.9922 MB / 0.7814 GB, free: 5.207 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.4706, allocations: 8.031 kB / 0.7814 GB, free: 5.199 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.472, allocations: 200.2 kB / 0.7816 GB, free: 5.004 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/0.4729, allocations: 0.5145 MB / 0.7821 GB, free: 4.453 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.4729, allocations: 41.36 kB / 0.7821 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.4731, allocations: 60.48 kB / 0.7822 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.4743, allocations: 0.8303 MB / 0.783 GB, free: 3.445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.4744, allocations: 11.89 kB / 0.783 GB, free: 3.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/0.4744, allocations: 19.98 kB / 0.783 GB, free: 3.414 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002005/0.4746, allocations: 64.95 kB / 0.7831 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009245/0.4755, allocations: 0.5658 MB / 0.7836 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004837/0.4804, allocations: 4.581 MB / 0.7881 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.4809, allocations: 275.2 kB / 0.7883 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.4812, allocations: 209.3 kB / 0.7885 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.4812, allocations: 4.281 kB / 0.7885 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.4813, allocations: 42.84 kB / 0.7886 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.4813, allocations: 0 / 0.7886 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.005875/0.4872, allocations: 2.633 MB / 0.7912 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.4872, allocations: 55.41 kB / 0.7912 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005184/0.4877, allocations: 454 kB / 0.7916 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.4878, allocations: 37.7 kB / 0.7917 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.488, allocations: 352.5 kB / 0.792 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.4882, allocations: 146.8 kB / 0.7922 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.4883, allocations: 106.2 kB / 0.7923 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.4885, allocations: 366.7 kB / 0.7926 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.4889, allocations: 237 kB / 0.7928 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/0.4895, allocations: 410.4 kB / 0.7932 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000936/0.4904, allocations: 0.674 MB / 0.7939 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4904, allocations: 0 / 0.7939 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001768/0.4922, allocations: 0.9096 MB / 0.7948 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4922, allocations: 8 kB / 0.7948 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.4922, allocations: 7.984 kB / 0.7948 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008317/0.493, allocations: 223 kB / 0.795 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.4936, allocations: 115.8 kB / 0.7951 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005751/0.4993, allocations: 5.348 MB / 0.8003 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.4998, allocations: 27.97 kB / 0.8004 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.4998, allocations: 32 kB / 0.8004 GB, free: 460 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000349/0.5002, allocations: 214.9 kB / 0.8006 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.5003, allocations: 67.5 kB / 0.8007 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.502, allocations: 0.7701 MB / 0.8014 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.502, allocations: 4 kB / 0.8014 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.502, allocations: 4 kB / 0.8014 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.502, allocations: 7.922 kB / 0.8014 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.5047, allocations: 1.49 MB / 0.8029 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5047, allocations: 0 / 0.8029 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.5051, allocations: 75.88 kB / 0.803 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000734/0.5058, allocations: 202.6 kB / 0.8031 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.5059, allocations: 8 kB / 0.8032 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005622/0.5115, allocations: 5.281 MB / 0.8083 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5115, allocations: 3.984 kB / 0.8083 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.5135, allocations: 1.132 MB / 0.8094 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.5138, allocations: 172.7 kB / 0.8096 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.5138, allocations: 11.94 kB / 0.8096 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.5142, allocations: 23.97 kB / 0.8096 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.5143, allocations: 39.89 kB / 0.8097 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.5143, allocations: 12.25 kB / 0.8097 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000437/0.5147, allocations: 314.9 kB / 0.81 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5147, allocations: 4 kB / 0.81 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007269/0.5155, allocations: 164 kB / 0.8101 GB, free: 5.867 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001745/0.5156, allocations: 115.2 kB / 0.8102 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.5174, allocations: 0.9653 MB / 0.8112 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5174, allocations: 0 / 0.8112 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.5184, allocations: 0.6642 MB / 0.8118 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009302/0.5194, allocations: 189.2 kB / 0.812 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.5216, allocations: 1.276 MB / 0.8133 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.5222, allocations: 0.9494 MB / 0.8142 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003387/0.5226, allocations: 113 kB / 0.8143 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.5227, allocations: 39.42 kB / 0.8143 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.5227, allocations: 0 / 0.8143 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.01734/0.54, allocations: 9.019 MB / 0.8231 GB, free: 8.512 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)