Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 101.1 kB / 16.94 MB, free: 5.777 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.001287/0.001287, allocations: 189.3 kB / 17.87 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.415/1.415, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8108/0.8108, allocations: 125.3 MB / 417.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.88 kB / 0.4948 GB, free: 4.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3226, allocations: 78.56 MB / 0.5715 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01187/0.3345, allocations: 11.83 MB / 0.5831 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007315/0.3419, allocations: 5.487 MB / 0.5884 GB, free: 19.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.343, allocations: 40.34 kB / 0.5885 GB, free: 19.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002566/0.3456, allocations: 1.038 MB / 0.5895 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.3472, allocations: 0.6533 MB / 0.5901 GB, free: 17.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.349, allocations: 0.9166 MB / 0.591 GB, free: 17.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.3512, allocations: 2.459 MB / 0.5934 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003243/0.3545, allocations: 3.579 MB / 0.5969 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.3559, allocations: 1.099 MB / 0.598 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.357, allocations: 1.207 MB / 0.5992 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002741/0.3573, allocations: 232 kB / 0.5994 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008528/0.3582, allocations: 0.5267 MB / 0.5999 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005323/0.3587, allocations: 0.9006 MB / 0.6008 GB, free: 9.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000722/0.3595, allocations: 0.9883 MB / 0.6018 GB, free: 8.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.3615, allocations: 3.553 MB / 0.6052 GB, free: 5.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3615, allocations: 0 / 0.6052 GB, free: 5.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3616, allocations: 3.938 kB / 0.6052 GB, free: 5.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.273e-05/0.3616, allocations: 0 / 0.6052 GB, free: 5.02 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.002926/0.3645, allocations: 1.94 MB / 0.6071 GB, free: 3.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3646, allocations: 8.031 kB / 0.6071 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00231/0.3669, allocations: 494.4 kB / 0.6076 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.3683, allocations: 1.108 MB / 0.6087 GB, free: 1.379 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/0.3684, allocations: 115.5 kB / 0.6088 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.3686, allocations: 156.1 kB / 0.6089 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/0.3727, allocations: 2.75 MB / 0.6116 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.3728, allocations: 8 kB / 0.6116 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.373, allocations: 60 kB / 0.6117 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000326/0.3733, allocations: 150.9 kB / 0.6118 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004649/0.378, allocations: 2.303 MB / 0.6141 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/0.3927, allocations: 10.47 MB / 0.6243 GB, free: 416 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.3941, allocations: 0.6084 MB / 0.6249 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007282/0.3949, allocations: 396.6 kB / 0.6253 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.395, allocations: 93 kB / 0.6254 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.3951, allocations: 42.36 kB / 0.6254 GB, free: 15.24 MB / 478.1 MB Notification: Performance of pre-optimization done (n=36): time 3.056e-06/0.3951, allocations: 0 / 0.6254 GB, free: 15.24 MB / 478.1 MB Notification: Performance of matching and sorting (n=52): time 0.023/0.4181, allocations: 5.831 MB / 0.6311 GB, free: 9.344 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.4182, allocations: 59.84 kB / 0.6312 GB, free: 9.273 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.4196, allocations: 0.8789 MB / 0.632 GB, free: 8.383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.4198, allocations: 33.7 kB / 0.6321 GB, free: 8.344 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006117/0.4204, allocations: 0.7616 MB / 0.6328 GB, free: 7.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.4206, allocations: 185.4 kB / 0.633 GB, free: 7.387 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.421, allocations: 190.5 kB / 0.6332 GB, free: 7.195 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002757/0.4212, allocations: 390.8 kB / 0.6335 GB, free: 6.805 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.4225, allocations: 0.6527 MB / 0.6342 GB, free: 6.148 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.424, allocations: 1.002 MB / 0.6351 GB, free: 4.977 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/0.4268, allocations: 1.678 MB / 0.6368 GB, free: 3.141 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4268, allocations: 0 / 0.6368 GB, free: 3.141 MB / 478.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00943/0.4363, allocations: 3.127 MB / 0.6398 GB, free: 15.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.4363, allocations: 8 kB / 0.6398 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.4364, allocations: 12.38 kB / 0.6399 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007332/0.4437, allocations: 1.653 MB / 0.6415 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.4448, allocations: 231.6 kB / 0.6417 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01579/0.4606, allocations: 10.59 MB / 0.652 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.462, allocations: 159.7 kB / 0.6522 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.4622, allocations: 47.98 kB / 0.6522 GB, free: 2.727 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002209/0.4644, allocations: 1.321 MB / 0.6535 GB, free: 1.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001498/0.4659, allocations: 0.9748 MB / 0.6545 GB, free: 268 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002643/0.4686, allocations: 1.619 MB / 0.6561 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.586e-06/0.4686, allocations: 4 kB / 0.6561 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007794/0.4764, allocations: 2.65 MB / 0.6587 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4764, allocations: 8 kB / 0.6587 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.4765, allocations: 12.38 kB / 0.6587 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004799/0.4813, allocations: 1.067 MB / 0.6597 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.4824, allocations: 251.5 kB / 0.66 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008411/0.4909, allocations: 5.76 MB / 0.6656 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.4923, allocations: 155.8 kB / 0.6657 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.4925, allocations: 51.92 kB / 0.6658 GB, free: 4.223 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003478/0.4928, allocations: 244.5 kB / 0.666 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.493, allocations: 83 kB / 0.6661 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008235/0.5012, allocations: 2.567 MB / 0.6686 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.5013, allocations: 4 kB / 0.6686 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5013, allocations: 0 / 0.6686 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.5013, allocations: 7.984 kB / 0.6686 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/0.5123, allocations: 4.456 MB / 0.673 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.5123, allocations: 4 kB / 0.673 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.5128, allocations: 91.86 kB / 0.6731 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006475/0.5192, allocations: 1.498 MB / 0.6745 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.5194, allocations: 23.88 kB / 0.6745 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/0.5334, allocations: 10.13 MB / 0.6844 GB, free: 392 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.5334, allocations: 4.031 kB / 0.6844 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007764/0.5412, allocations: 2.516 MB / 0.6869 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/0.5418, allocations: 264.1 kB / 0.6871 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.542, allocations: 15.98 kB / 0.6872 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008861/0.5429, allocations: 119.8 kB / 0.6873 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.5431, allocations: 47.88 kB / 0.6873 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.5432, allocations: 16 kB / 0.6873 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001021/0.5442, allocations: 0.6434 MB / 0.688 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.377e-06/0.5442, allocations: 0 / 0.688 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002045/0.5462, allocations: 0.5937 MB / 0.6885 GB, free: 12.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 38 * 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): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002631/0.5465, allocations: 123.1 kB / 0.6887 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006168/0.5527, allocations: 3.258 MB / 0.6918 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.5527, allocations: 0 / 0.6918 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002034/0.5548, allocations: 1.171 MB / 0.693 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.5561, allocations: 246 kB / 0.6932 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005668/0.5617, allocations: 3.213 MB / 0.6964 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/0.5634, allocations: 1.633 MB / 0.698 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.5637, allocations: 67.42 kB / 0.698 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.5637, allocations: 3.938 kB / 0.698 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of Templates: time 0.3093/0.873, allocations: 57.75 MB / 0.7544 GB, free: 157.3 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)