Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 107.9 kB / 17.04 MB, free: 6.078 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.001087/0.001087, allocations: 196 kB / 17.98 MB, free: 5.16 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.431/1.431, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.718/0.718, allocations: 115.1 MB / 406.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3387, allocations: 76.15 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005603/0.3444, allocations: 4.365 MB / 0.5618 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004257/0.3486, allocations: 3.222 MB / 0.565 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.349, allocations: 12.16 kB / 0.565 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.3505, allocations: 0.5074 MB / 0.5655 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009074/0.3514, allocations: 395.3 kB / 0.5659 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.352, allocations: 249.9 kB / 0.5661 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000648/0.3526, allocations: 0.5975 MB / 0.5667 GB, free: 30.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006391/0.3533, allocations: 0.5233 MB / 0.5672 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004389/0.3537, allocations: 277.5 kB / 0.5675 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003908/0.3541, allocations: 270.1 kB / 0.5677 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/0.3542, allocations: 39.69 kB / 0.5678 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.3547, allocations: 296 kB / 0.568 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.3549, allocations: 162.2 kB / 0.5682 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.3551, allocations: 232.1 kB / 0.5684 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008929/0.356, allocations: 0.7793 MB / 0.5692 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.356, allocations: 0 / 0.5692 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.356, allocations: 5.562 kB / 0.5692 GB, free: 29.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.356, allocations: 5.25 kB / 0.5692 GB, free: 29.69 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001224/0.3572, allocations: 0.7602 MB / 0.5699 GB, free: 29.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3573, allocations: 10.8 kB / 0.5699 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/0.36, allocations: 0.656 MB / 0.5706 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/0.3608, allocations: 461.6 kB / 0.571 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.3609, allocations: 25.95 kB / 0.5711 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.3609, allocations: 32.53 kB / 0.5711 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.3625, allocations: 0.7758 MB / 0.5718 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.3625, allocations: 1.219 kB / 0.5718 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.3626, allocations: 17.25 kB / 0.5719 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.3627, allocations: 40.86 kB / 0.5719 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.3646, allocations: 0.8529 MB / 0.5727 GB, free: 28.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/0.3683, allocations: 2.789 MB / 0.5755 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.3699, allocations: 0.5067 MB / 0.576 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006678/0.3706, allocations: 249.9 kB / 0.5762 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.867e-05/0.3707, allocations: 88.73 kB / 0.5763 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3707, allocations: 40 kB / 0.5763 GB, free: 25.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3707, allocations: 0 / 0.5763 GB, free: 25.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.01119/0.3819, allocations: 2.963 MB / 0.5792 GB, free: 25.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.382, allocations: 54.22 kB / 0.5793 GB, free: 25.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.3824, allocations: 408.6 kB / 0.5796 GB, free: 24.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.3825, allocations: 27.36 kB / 0.5797 GB, free: 24.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.3826, allocations: 239.7 kB / 0.5799 GB, free: 24.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.3827, allocations: 81.12 kB / 0.58 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.3828, allocations: 71.64 kB / 0.58 GB, free: 24.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.3829, allocations: 348.6 kB / 0.5804 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007926/0.3837, allocations: 348.4 kB / 0.5807 GB, free: 23.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008193/0.3845, allocations: 419.8 kB / 0.5811 GB, free: 23.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.3862, allocations: 0.7327 MB / 0.5818 GB, free: 23.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3862, allocations: 1.25 kB / 0.5818 GB, free: 23.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004741/0.3909, allocations: 1.468 MB / 0.5833 GB, free: 22.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.391, allocations: 5.938 kB / 0.5833 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.391, allocations: 2.375 kB / 0.5833 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003572/0.3946, allocations: 0.7752 MB / 0.584 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.3952, allocations: 115.6 kB / 0.5841 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006168/0.4014, allocations: 4.846 MB / 0.5889 GB, free: 18.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000814/0.4022, allocations: 115.2 kB / 0.589 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.4023, allocations: 9.594 kB / 0.589 GB, free: 18.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001038/0.4033, allocations: 0.5188 MB / 0.5895 GB, free: 17.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007863/0.4041, allocations: 405.8 kB / 0.5899 GB, free: 17.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001524/0.4057, allocations: 0.7104 MB / 0.5906 GB, free: 17.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.4057, allocations: 0 / 0.5906 GB, free: 17.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.003945/0.4096, allocations: 1.244 MB / 0.5918 GB, free: 16.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.4096, allocations: 7.438 kB / 0.5918 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4097, allocations: 2.25 kB / 0.5918 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/0.4119, allocations: 0.5027 MB / 0.5923 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.4125, allocations: 132.5 kB / 0.5924 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.4154, allocations: 2.597 MB / 0.595 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.4161, allocations: 107.8 kB / 0.5951 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.4161, allocations: 12 kB / 0.5951 GB, free: 13.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.4163, allocations: 204.1 kB / 0.5953 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-05/0.4164, allocations: 39.53 kB / 0.5953 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004061/0.4205, allocations: 1.342 MB / 0.5966 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4205, allocations: 144 / 0.5966 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.4205, allocations: 3.984 kB / 0.5966 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4205, allocations: 11.98 kB / 0.5966 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004636/0.4251, allocations: 1.979 MB / 0.5986 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4252, allocations: 4 kB / 0.5986 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.4255, allocations: 79.94 kB / 0.5986 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002875/0.4284, allocations: 0.7038 MB / 0.5993 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.4284, allocations: 11.94 kB / 0.5993 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004634/0.4331, allocations: 4.668 MB / 0.6039 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4331, allocations: 4.031 kB / 0.6039 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003862/0.437, allocations: 1.365 MB / 0.6052 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.4372, allocations: 156.7 kB / 0.6054 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.4373, allocations: 8 kB / 0.6054 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.4379, allocations: 87.86 kB / 0.6055 GB, free: 2.086 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.438, allocations: 19.97 kB / 0.6055 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.438, allocations: 11.98 kB / 0.6055 GB, free: 2.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002885/0.4383, allocations: 303.1 kB / 0.6058 GB, free: 1.762 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4383, allocations: 0 / 0.6058 GB, free: 1.762 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008173/0.4392, allocations: 196 kB / 0.606 GB, free: 1.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.4393, allocations: 125.3 kB / 0.6061 GB, free: 1.438 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002997/0.4423, allocations: 1.531 MB / 0.6076 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4423, allocations: 0 / 0.6076 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.4435, allocations: 0.6301 MB / 0.6082 GB, free: 15.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006846/0.4442, allocations: 127.4 kB / 0.6083 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.4461, allocations: 1.048 MB / 0.6094 GB, free: 14.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.4466, allocations: 0.9171 MB / 0.6103 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004559/0.447, allocations: 151.2 kB / 0.6104 GB, free: 12.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.4472, allocations: 35.41 kB / 0.6104 GB, free: 12.89 MB / 462.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4472, allocations: 0 / 0.6104 GB, free: 12.89 MB / 462.1 MB Notification: Performance of Templates: time 0.01833/0.4655, allocations: 12.15 MB / 0.6223 GB, free: 0.8203 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)