Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.741/2.741, allocations: 287.3 MB / 302.3 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 174.7 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.294/2.294, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 90.31 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007723/0.0007725, allocations: 12.69 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2527, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006814/0.2596, allocations: 4.622 MB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005241/0.2649, allocations: 2.481 MB / 0.9851 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006751/0.2656, allocations: 19.81 kB / 0.9852 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.2661, allocations: 95.31 kB / 0.9852 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.2674, allocations: 319 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.2686, allocations: 302.3 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001245/0.2699, allocations: 0.5746 MB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.2716, allocations: 0.7398 MB / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.2723, allocations: 279 kB / 0.9874 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005875/0.2729, allocations: 310.8 kB / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.135e-05/0.273, allocations: 24 kB / 0.9877 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005521/0.2736, allocations: 151.8 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.2739, allocations: 203.4 kB / 0.988 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.274, allocations: 145.4 kB / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009068/0.275, allocations: 0.6936 MB / 0.9889 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.275, allocations: 0 / 0.9889 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.555e-06/0.275, allocations: 0 / 0.9889 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.275, allocations: 3.938 kB / 0.9889 GB, free: 17.4 MB / 0.6198 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.001838/0.2769, allocations: 0.8374 MB / 0.9897 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2769, allocations: 12.03 kB / 0.9897 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.2788, allocations: 182.9 kB / 0.9899 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.2799, allocations: 477.4 kB / 0.9903 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.28, allocations: 37 kB / 0.9904 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/0.2802, allocations: 59.97 kB / 0.9904 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.2818, allocations: 0.8199 MB / 0.9912 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.2819, allocations: 7.984 kB / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.458e-05/0.282, allocations: 24 kB / 0.9912 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00032/0.2823, allocations: 60.95 kB / 0.9913 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.2837, allocations: 0.5696 MB / 0.9919 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005838/0.2895, allocations: 4.593 MB / 0.9963 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.2903, allocations: 291.3 kB / 0.9966 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.403e-05/0.2904, allocations: 4.281 kB / 0.9966 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.2904, allocations: 42.78 kB / 0.9967 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.015e-06/0.2904, allocations: 0 / 0.9967 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.008531/0.2989, allocations: 2.631 MB / 0.9992 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.299, allocations: 63.34 kB / 0.9993 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006268/0.2997, allocations: 446 kB / 0.9997 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.2997, allocations: 37.7 kB / 0.9998 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.3, allocations: 331.7 kB / 1 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.3001, allocations: 145.9 kB / 1 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3002, allocations: 12 kB / 1 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3003, allocations: 362.8 kB / 1.001 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/0.3008, allocations: 233 kB / 1.001 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.3014, allocations: 405.1 kB / 1.001 GB, free: 4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/0.3021, allocations: 297.7 kB / 1.001 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3021, allocations: 0 / 1.001 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002531/0.3047, allocations: 0.9215 MB / 1.002 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.3047, allocations: 11.94 kB / 1.002 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.3047, allocations: 4 kB / 1.002 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.306, allocations: 226.6 kB / 1.003 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/0.307, allocations: 115.8 kB / 1.003 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007495/0.3145, allocations: 5.009 MB / 1.008 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008022/0.3154, allocations: 36.03 kB / 1.008 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/0.3154, allocations: 24 kB / 1.008 GB, free: 12.94 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004721/0.3159, allocations: 217.6 kB / 1.008 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.3161, allocations: 59.33 kB / 1.008 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.3187, allocations: 0.7703 MB / 1.009 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.3188, allocations: 7.938 kB / 1.009 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.3188, allocations: 7.984 kB / 1.009 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3188, allocations: 0 / 1.009 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004335/0.3232, allocations: 1.505 MB / 1.01 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.495e-06/0.3232, allocations: 0 / 1.01 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.3239, allocations: 72.25 kB / 1.01 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.3252, allocations: 206.6 kB / 1.01 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/0.3253, allocations: 8 kB / 1.01 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007889/0.3332, allocations: 4.954 MB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.3332, allocations: 4 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/0.3366, allocations: 1.201 MB / 1.016 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004471/0.3371, allocations: 172.4 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.3373, allocations: 11.98 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/0.338, allocations: 27.97 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.3382, allocations: 47.84 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.3382, allocations: 12 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005712/0.3388, allocations: 302.9 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3388, allocations: 0 / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00109/0.3399, allocations: 168 kB / 1.017 GB, free: 2.586 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002431/0.3402, allocations: 119.1 kB / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002761/0.343, allocations: 0.9924 MB / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.343, allocations: 4 kB / 1.018 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003046/0.3461, allocations: 0.676 MB / 1.019 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.3481, allocations: 160.7 kB / 1.019 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.354, allocations: 1.486 MB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/0.3555, allocations: 0.9572 MB / 1.021 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001215/0.3568, allocations: 117 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.3571, allocations: 35.44 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/0.3571, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.02643/0.3836, allocations: 8.15 MB / 1.03 GB, free: 5.84 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)