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.00129/0.00129, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001426/0.001427, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 286.2 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9132/0.9132, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 97.91 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1398, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006365/0.1462, allocations: 5.451 MB / 0.6869 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2391/0.3854, allocations: 2.611 MB / 0.6895 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004304/0.3858, allocations: 22.19 kB / 0.6895 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.3875, allocations: 0.6816 MB / 0.6902 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000782/0.3883, allocations: 409.5 kB / 0.6906 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008512/0.3891, allocations: 402.5 kB / 0.691 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008948/0.39, allocations: 0.9496 MB / 0.6919 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005976/0.3906, allocations: 464.9 kB / 0.6923 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.3911, allocations: 366.1 kB / 0.6927 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.3916, allocations: 409.7 kB / 0.6931 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.873e-05/0.3917, allocations: 48.03 kB / 0.6931 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000593/0.3923, allocations: 361.7 kB / 0.6935 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.3925, allocations: 248.9 kB / 0.6937 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.3928, allocations: 344.8 kB / 0.694 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.3938, allocations: 0.966 MB / 0.695 GB, free: 12.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3939, allocations: 3.453 kB / 0.695 GB, free: 12.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3939, allocations: 0.5625 kB / 0.695 GB, free: 12.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3939, allocations: 0 / 0.695 GB, free: 12.16 MB / 494.1 MB 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.001374/0.3953, allocations: 0.9761 MB / 0.6959 GB, free: 11.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3953, allocations: 10.19 kB / 0.6959 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.3967, allocations: 189.8 kB / 0.6961 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007986/0.3975, allocations: 0.5175 MB / 0.6966 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.3975, allocations: 40.17 kB / 0.6967 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.3977, allocations: 52.94 kB / 0.6967 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.3988, allocations: 0.8362 MB / 0.6975 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.3988, allocations: 6.469 kB / 0.6975 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/0.3989, allocations: 22.97 kB / 0.6975 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/0.3991, allocations: 67.5 kB / 0.6976 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009742/0.4001, allocations: 0.5694 MB / 0.6982 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003674/0.4037, allocations: 4.573 MB / 0.7026 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.4042, allocations: 302.5 kB / 0.7029 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.4046, allocations: 224.7 kB / 0.7031 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.4046, allocations: 3.562 kB / 0.7031 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.4046, allocations: 44.78 kB / 0.7032 GB, free: 6.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.4046, allocations: 1.125 kB / 0.7032 GB, free: 6.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=40): time 0.005297/0.4099, allocations: 2.626 MB / 0.7057 GB, free: 4.891 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.41, allocations: 55.94 kB / 0.7058 GB, free: 4.828 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004526/0.4104, allocations: 452 kB / 0.7062 GB, free: 4.609 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.4105, allocations: 35.83 kB / 0.7063 GB, free: 4.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.4106, allocations: 341.2 kB / 0.7066 GB, free: 4.297 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.488e-05/0.4107, allocations: 143.4 kB / 0.7067 GB, free: 4.188 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.4109, allocations: 101.7 kB / 0.7068 GB, free: 4.133 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.411, allocations: 367.8 kB / 0.7072 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.4113, allocations: 234.8 kB / 0.7074 GB, free: 3.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.4118, allocations: 411.5 kB / 0.7078 GB, free: 3.418 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/0.4126, allocations: 0.6767 MB / 0.7085 GB, free: 2.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4126, allocations: 1.781 kB / 0.7085 GB, free: 2.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001634/0.4142, allocations: 0.9147 MB / 0.7093 GB, free: 2.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4142, allocations: 7.781 kB / 0.7094 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4143, allocations: 6.109 kB / 0.7094 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007725/0.415, allocations: 224.7 kB / 0.7096 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.4155, allocations: 115.9 kB / 0.7097 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004633/0.4202, allocations: 5.345 MB / 0.7149 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.4207, allocations: 34 kB / 0.7149 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.4207, allocations: 23.12 kB / 0.715 GB, free: 13.84 MB / 0.4981 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.0003391/0.4211, allocations: 226 kB / 0.7152 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.516e-05/0.4212, allocations: 60.16 kB / 0.7152 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.4227, allocations: 0.7789 MB / 0.716 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4227, allocations: 2.719 kB / 0.716 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4228, allocations: 3.156 kB / 0.716 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.4228, allocations: 2.625 kB / 0.716 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.4253, allocations: 1.505 MB / 0.7175 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4253, allocations: 0.75 kB / 0.7175 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.4257, allocations: 71.62 kB / 0.7175 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006725/0.4264, allocations: 203.9 kB / 0.7177 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.4264, allocations: 8.203 kB / 0.7177 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.4311, allocations: 5.268 MB / 0.7229 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4311, allocations: 2.688 kB / 0.7229 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.4329, allocations: 1.129 MB / 0.724 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.4332, allocations: 168 kB / 0.7242 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.591e-05/0.4332, allocations: 16.88 kB / 0.7242 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.4336, allocations: 28.09 kB / 0.7242 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.4337, allocations: 31.39 kB / 0.7242 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.4337, allocations: 18.98 kB / 0.7242 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003377/0.434, allocations: 307.5 kB / 0.7245 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4341, allocations: 1.156 kB / 0.7245 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007039/0.4348, allocations: 170.3 kB / 0.7247 GB, free: 6.895 MB / 0.4981 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.0001406/0.4349, allocations: 117 kB / 0.7248 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.4365, allocations: 1.027 MB / 0.7258 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4365, allocations: 3.938 kB / 0.7258 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009179/0.4374, allocations: 0.6732 MB / 0.7265 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008439/0.4383, allocations: 184.8 kB / 0.7267 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.4401, allocations: 1.251 MB / 0.7279 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.4406, allocations: 0.9488 MB / 0.7288 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000317/0.441, allocations: 111.7 kB / 0.7289 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.981e-05/0.4411, allocations: 37.5 kB / 0.7289 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.4411, allocations: 0 / 0.7289 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of Templates: time 0.0147/0.4558, allocations: 8.861 MB / 0.7376 GB, free: 128 kB / 0.4981 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)