Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 92.62 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 176.1 kB / 16.58 MB, free: 6.062 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.459/1.459, allocations: 223.3 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7054/0.7054, allocations: 115.5 MB / 407.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003649, allocations: 8 kB / 495.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1665, allocations: 77.54 MB / 0.5593 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.009949/0.1765, allocations: 9.044 MB / 0.5682 GB, free: 320 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005025/0.1816, allocations: 3.015 MB / 0.5711 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005216/0.1821, allocations: 27.88 kB / 0.5711 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.1826, allocations: 186.6 kB / 0.5713 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.1838, allocations: 0.6261 MB / 0.5719 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.185, allocations: 0.5186 MB / 0.5724 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003513/0.1885, allocations: 3.514 MB / 0.5759 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003773/0.1923, allocations: 2.71 MB / 0.5785 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.1937, allocations: 0.9691 MB / 0.5795 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.1955, allocations: 1.433 MB / 0.5809 GB, free: 3.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.1957, allocations: 116 kB / 0.581 GB, free: 3.145 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.1963, allocations: 259.7 kB / 0.5812 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008231/0.1972, allocations: 0.9159 MB / 0.5821 GB, free: 1.973 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.1975, allocations: 384.7 kB / 0.5825 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3335/0.531, allocations: 2.999 MB / 0.5854 GB, free: 16.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5311, allocations: 1.312 kB / 0.5854 GB, free: 16.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.047e-06/0.5311, allocations: 0.875 kB / 0.5854 GB, free: 16.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001259/0.5312, allocations: 1.5 kB / 0.5854 GB, free: 16.38 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005111/0.5363, allocations: 1.779 MB / 0.5872 GB, free: 15.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5364, allocations: 12.47 kB / 0.5872 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009298/0.5457, allocations: 1.321 MB / 0.5885 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003651/0.5494, allocations: 1.22 MB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.5496, allocations: 114.1 kB / 0.5898 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007599/0.5503, allocations: 146.2 kB / 0.5899 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007304/0.5576, allocations: 3.429 MB / 0.5932 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.947e-05/0.5577, allocations: 9.453 kB / 0.5933 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.558, allocations: 65.78 kB / 0.5933 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003539/0.5583, allocations: 207.1 kB / 0.5935 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006877/0.5652, allocations: 3.119 MB / 0.5966 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01926/0.5845, allocations: 13.58 MB / 0.6098 GB, free: 7.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.5873, allocations: 1.724 MB / 0.6115 GB, free: 6.898 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/0.5894, allocations: 1.433 MB / 0.6129 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.5895, allocations: 10.75 kB / 0.6129 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.5896, allocations: 46.03 kB / 0.613 GB, free: 6.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=104): time 2.835e-06/0.5896, allocations: 0 / 0.613 GB, free: 6.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=183): time 0.124/0.7136, allocations: 35.93 MB / 0.6481 GB, free: 9.523 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.7137, allocations: 73.41 kB / 0.6481 GB, free: 9.438 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.7153, allocations: 1.046 MB / 0.6491 GB, free: 8.367 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004498/0.7158, allocations: 57.7 kB / 0.6492 GB, free: 8.305 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005404/0.7163, allocations: 0.7813 MB / 0.65 GB, free: 7.516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000663/0.717, allocations: 0.6304 MB / 0.6506 GB, free: 6.891 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.7172, allocations: 40 kB / 0.6506 GB, free: 6.852 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7173, allocations: 377.9 kB / 0.651 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002698/0.72, allocations: 1.924 MB / 0.6529 GB, free: 4.551 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.7231, allocations: 2.281 MB / 0.6551 GB, free: 2.152 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/0.7261, allocations: 2.208 MB / 0.6572 GB, free: 15.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.7261, allocations: 3.75 kB / 0.6572 GB, free: 15.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01855/0.7447, allocations: 8.99 MB / 0.666 GB, free: 7.109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.7447, allocations: 15.95 kB / 0.666 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.7448, allocations: 8 kB / 0.666 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01594/0.7607, allocations: 4.972 MB / 0.6709 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.7618, allocations: 192.8 kB / 0.6711 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05226/0.8141, allocations: 35.07 MB / 0.7053 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.8165, allocations: 99.89 kB / 0.7054 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002797/0.8168, allocations: 64 kB / 0.7055 GB, free: 14.22 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001592/0.8184, allocations: 0.8119 MB / 0.7063 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/0.8187, allocations: 142.3 kB / 0.7064 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01899/0.8377, allocations: 8.865 MB / 0.7151 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.8377, allocations: 16 kB / 0.7151 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-05/0.8378, allocations: 32 kB / 0.7151 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.38e-05/0.8379, allocations: 11.95 kB / 0.7151 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02649/0.8644, allocations: 13.24 MB / 0.7281 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/0.8644, allocations: 8.094 kB / 0.7281 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.8649, allocations: 119.8 kB / 0.7282 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01553/0.8805, allocations: 4.752 MB / 0.7328 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003305/0.8809, allocations: 35.95 kB / 0.7329 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04712/0.928, allocations: 31.42 MB / 0.7635 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/0.928, allocations: 8 kB / 0.7635 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/0.947, allocations: 8.373 MB / 0.7717 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.9484, allocations: 0.624 MB / 0.7723 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003669/0.9488, allocations: 32 kB / 0.7724 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.95, allocations: 95.89 kB / 0.7725 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008661/0.9509, allocations: 165.4 kB / 0.7726 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/0.9511, allocations: 44 kB / 0.7727 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001209/0.9523, allocations: 0.7304 MB / 0.7734 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9523, allocations: 0 / 0.7734 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003487/0.9558, allocations: 1.008 MB / 0.7744 GB, free: 7.051 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,80.1%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000332/0.9561, allocations: 145.4 kB / 0.7745 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.9662, allocations: 5.825 MB / 0.7802 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.9662, allocations: 0 / 0.7802 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007298/0.9735, allocations: 3.789 MB / 0.7839 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.9753, allocations: 234.5 kB / 0.7841 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008142/0.9834, allocations: 5.619 MB / 0.7896 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/0.9853, allocations: 1.859 MB / 0.7914 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008478/0.9861, allocations: 347.4 kB / 0.7917 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.9863, allocations: 59.44 kB / 0.7918 GB, free: 5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.283e-06/0.9864, allocations: 4 kB / 0.7918 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.3601/1.347, allocations: 54.42 MB / 0.8449 GB, free: 218.3 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)