Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 111 kB / 17.04 MB, free: 6.066 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.001324/0.001324, allocations: 196 kB / 17.98 MB, free: 5.148 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.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7245/0.7245, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.00142, allocations: 68.25 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3504, allocations: 76.14 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006848/0.3573, allocations: 6.074 MB / 0.5635 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004652/0.3619, allocations: 3.138 MB / 0.5666 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006275/0.3626, allocations: 30.62 kB / 0.5666 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.365, allocations: 0.9299 MB / 0.5675 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.3663, allocations: 474.7 kB / 0.568 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.3676, allocations: 493.9 kB / 0.5684 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.369, allocations: 1.089 MB / 0.5695 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009954/0.37, allocations: 0.6429 MB / 0.5701 GB, free: 28.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000727/0.3708, allocations: 437.2 kB / 0.5705 GB, free: 28.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006229/0.3714, allocations: 475.4 kB / 0.571 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.715e-05/0.3715, allocations: 58.56 kB / 0.5711 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000991/0.3725, allocations: 485 kB / 0.5715 GB, free: 28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.3729, allocations: 288.5 kB / 0.5718 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004377/0.3733, allocations: 397 kB / 0.5722 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.3749, allocations: 1.172 MB / 0.5733 GB, free: 27.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3749, allocations: 1.562 kB / 0.5733 GB, free: 27.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3749, allocations: 0.5 kB / 0.5733 GB, free: 27.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.3749, allocations: 0 / 0.5733 GB, free: 27.25 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001662/0.3766, allocations: 1.055 MB / 0.5743 GB, free: 26.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3767, allocations: 9.594 kB / 0.5744 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.3782, allocations: 214.9 kB / 0.5746 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009783/0.3792, allocations: 0.5899 MB / 0.5751 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.3793, allocations: 46.97 kB / 0.5752 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.3794, allocations: 62.39 kB / 0.5752 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.3807, allocations: 1.037 MB / 0.5763 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.3808, allocations: 9.672 kB / 0.5763 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.3808, allocations: 24.03 kB / 0.5763 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.381, allocations: 71.2 kB / 0.5764 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.382, allocations: 0.6932 MB / 0.577 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004583/0.3866, allocations: 5.735 MB / 0.5826 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.3874, allocations: 0.5974 MB / 0.5832 GB, free: 19.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/0.3882, allocations: 422.6 kB / 0.5836 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.3882, allocations: 4.906 kB / 0.5836 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.3882, allocations: 35.94 kB / 0.5837 GB, free: 19.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.224e-06/0.3883, allocations: 7.938 kB / 0.5837 GB, free: 19.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004413/0.3927, allocations: 2.051 MB / 0.5857 GB, free: 18.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.3927, allocations: 55.41 kB / 0.5857 GB, free: 18.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/0.3933, allocations: 455.8 kB / 0.5862 GB, free: 18.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.3933, allocations: 31.05 kB / 0.5862 GB, free: 18.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.3935, allocations: 389.4 kB / 0.5866 GB, free: 17.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/0.3936, allocations: 153.6 kB / 0.5867 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.3938, allocations: 113.8 kB / 0.5868 GB, free: 17.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.3939, allocations: 363.8 kB / 0.5872 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.3942, allocations: 248.8 kB / 0.5874 GB, free: 17.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.3947, allocations: 465.4 kB / 0.5878 GB, free: 17.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/0.3955, allocations: 0.7548 MB / 0.5886 GB, free: 16.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3955, allocations: 0 / 0.5886 GB, free: 16.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001921/0.3974, allocations: 1.063 MB / 0.5896 GB, free: 16.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3975, allocations: 8.594 kB / 0.5896 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3975, allocations: 6.625 kB / 0.5896 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009993/0.3985, allocations: 328.7 kB / 0.5899 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.3988, allocations: 104.5 kB / 0.59 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005576/0.4044, allocations: 7.521 MB / 0.5974 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.405, allocations: 30.23 kB / 0.5974 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.405, allocations: 24.31 kB / 0.5974 GB, free: 8.93 MB / 446.1 MB 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 (53): * Single equations (assignments): 49 * 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): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003219/0.4054, allocations: 244.1 kB / 0.5977 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.75e-05/0.4055, allocations: 60.69 kB / 0.5977 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.407, allocations: 0.9212 MB / 0.5986 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4071, allocations: 4.812 kB / 0.5986 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.4071, allocations: 3.469 kB / 0.5986 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4071, allocations: 3.984 kB / 0.5986 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.4097, allocations: 1.705 MB / 0.6003 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4097, allocations: 1.125 kB / 0.6003 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.4099, allocations: 42 kB / 0.6003 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008612/0.4107, allocations: 338.3 kB / 0.6007 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.4108, allocations: 8 kB / 0.6007 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005501/0.4163, allocations: 7.493 MB / 0.608 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.4163, allocations: 4.031 kB / 0.608 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.4182, allocations: 1.015 MB / 0.609 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.4185, allocations: 176.6 kB / 0.6092 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.4186, allocations: 11.98 kB / 0.6092 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.4189, allocations: 19.98 kB / 0.6092 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.419, allocations: 47.81 kB / 0.6092 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.419, allocations: 12 kB / 0.6092 GB, free: 13.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003391/0.4194, allocations: 306.9 kB / 0.6095 GB, free: 13 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4194, allocations: 0 / 0.6095 GB, free: 13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008348/0.4202, allocations: 203.9 kB / 0.6097 GB, free: 12.8 MB / 462.1 MB 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 (23): * Single equations (assignments): 19 * 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): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001462/0.4204, allocations: 99.25 kB / 0.6098 GB, free: 12.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.4223, allocations: 1.214 MB / 0.611 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4223, allocations: 0 / 0.611 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.4235, allocations: 0.8582 MB / 0.6118 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.4245, allocations: 211.8 kB / 0.6121 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.4265, allocations: 1.222 MB / 0.6132 GB, free: 9.055 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.4271, allocations: 0.9881 MB / 0.6142 GB, free: 8.039 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002794/0.4274, allocations: 97.19 kB / 0.6143 GB, free: 7.941 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/0.4275, allocations: 39.44 kB / 0.6143 GB, free: 7.902 MB / 462.1 MB Notification: Performance of SimCode: time 1.904e-06/0.4275, allocations: 0 / 0.6143 GB, free: 7.902 MB / 462.1 MB Notification: Performance of Templates: time 0.01743/0.4449, allocations: 9.959 MB / 0.6241 GB, free: 14.06 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)