Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009506/0.0009506, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009789/0.0009789, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9512/0.9512, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002022/0.002022, allocations: 251.2 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7413/0.7413, allocations: 138.4 MB / 402.2 MB, free: 0.5312 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.679e-05, allocations: 5.359 kB / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.006366/0.006393, allocations: 6.545 MB / 468.9 MB, free: 12.08 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.01049, allocations: 2.25 MB / 471.1 MB, free: 9.84 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005349/0.01103, allocations: 48.25 kB / 471.2 MB, free: 9.793 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006496/0.01168, allocations: 266.7 kB / 471.4 MB, free: 9.531 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000995/0.01267, allocations: 0.7092 MB / 472.1 MB, free: 8.824 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.01371, allocations: 0.6533 MB / 472.8 MB, free: 8.176 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002785/0.0165, allocations: 3.003 MB / 475.8 MB, free: 5.168 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.01806, allocations: 1.534 MB / 477.3 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.01986, allocations: 1.735 MB / 479.1 MB, free: 1.852 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.02153, allocations: 1.564 MB / 480.6 MB, free: 300 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004408/0.02197, allocations: 236.5 kB / 480.9 MB, free: 64 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00098/0.02295, allocations: 331.7 kB / 481.2 MB, free: 15.74 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007422/0.02369, allocations: 1.164 MB / 482.3 MB, free: 14.57 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008919/0.02459, allocations: 0.7822 MB / 483.1 MB, free: 13.79 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.02628, allocations: 2.15 MB / 485.3 MB, free: 11.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.02629, allocations: 0 / 485.3 MB, free: 11.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02629, allocations: 0 / 485.3 MB, free: 11.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.772e-05/0.02635, allocations: 0 / 485.3 MB, free: 11.64 MB / 442.7 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.002319/0.02867, allocations: 1.977 MB / 487.3 MB, free: 9.637 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.0287, allocations: 13.44 kB / 487.3 MB, free: 9.625 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00382/0.03252, allocations: 1.191 MB / 488.5 MB, free: 8.438 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.03369, allocations: 0.9411 MB / 489.4 MB, free: 7.473 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/0.03375, allocations: 116 kB / 489.5 MB, free: 7.359 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.03398, allocations: 150.1 kB / 489.7 MB, free: 7.215 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.03569, allocations: 1.616 MB / 491.3 MB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.03572, allocations: 192 / 491.3 MB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.03585, allocations: 70.31 kB / 491.3 MB, free: 5.414 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/0.03601, allocations: 207.1 kB / 491.5 MB, free: 5.211 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.03702, allocations: 0.6989 MB / 492.2 MB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006701/0.04373, allocations: 6.529 MB / 498.8 MB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/0.04443, allocations: 0.5513 MB / 499.3 MB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/0.04487, allocations: 355.9 kB / 499.7 MB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.722e-05/0.04494, allocations: 25.84 kB / 499.7 MB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.04497, allocations: 43.5 kB / 499.7 MB, free: 12.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=104): time 3.296e-06/0.04497, allocations: 0.625 kB / 499.7 MB, free: 12.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=107): time 0.01571/0.06069, allocations: 7.102 MB / 0.495 GB, free: 5.895 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.06072, allocations: 60.41 kB / 0.495 GB, free: 5.824 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/0.06129, allocations: 0.7375 MB / 0.4957 GB, free: 5.074 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/0.06137, allocations: 45.7 kB / 0.4958 GB, free: 5.023 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.06167, allocations: 0.7005 MB / 0.4965 GB, free: 4.309 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.0619, allocations: 388.6 kB / 0.4968 GB, free: 3.926 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003074/0.06221, allocations: 226.7 kB / 0.4971 GB, free: 3.695 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.06232, allocations: 357.8 kB / 0.4974 GB, free: 3.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.06265, allocations: 213.4 kB / 0.4976 GB, free: 3.133 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.06338, allocations: 0.4899 MB / 0.4981 GB, free: 2.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007848/0.06416, allocations: 0.8155 MB / 0.4989 GB, free: 1.578 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.06417, allocations: 0 / 0.4989 GB, free: 1.578 MB / 458.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003612/0.06778, allocations: 2.112 MB / 0.5009 GB, free: 15.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.0678, allocations: 16 kB / 0.501 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.06782, allocations: 8.5 kB / 0.501 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003863/0.07168, allocations: 1.605 MB / 0.5025 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.07207, allocations: 163.7 kB / 0.5027 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008986/0.08106, allocations: 7.304 MB / 0.5098 GB, free: 6.168 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/0.08171, allocations: 33.38 kB / 0.5098 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.377e-05/0.08179, allocations: 51.92 kB / 0.5099 GB, free: 6.086 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004809/0.08227, allocations: 180.4 kB / 0.5101 GB, free: 5.898 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.08243, allocations: 107.9 kB / 0.5102 GB, free: 5.793 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/0.08633, allocations: 2.042 MB / 0.5122 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.08634, allocations: 12 kB / 0.5122 GB, free: 3.715 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/0.08636, allocations: 16 kB / 0.5122 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.08638, allocations: 7.969 kB / 0.5122 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00516/0.09154, allocations: 3.136 MB / 0.5153 GB, free: 500 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.09154, allocations: 4.281 kB / 0.5153 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.09172, allocations: 68.91 kB / 0.5153 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003778/0.0955, allocations: 1.578 MB / 0.5169 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/0.09556, allocations: 20 kB / 0.5169 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009902/0.1055, allocations: 7.302 MB / 0.524 GB, free: 7.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1055, allocations: 4 kB / 0.524 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005209/0.1107, allocations: 2.073 MB / 0.5261 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005569/0.1112, allocations: 235.1 kB / 0.5263 GB, free: 4.953 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.1114, allocations: 21 kB / 0.5263 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.1119, allocations: 20 kB / 0.5263 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003692/0.1122, allocations: 108.6 kB / 0.5264 GB, free: 4.809 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/0.1123, allocations: 20 kB / 0.5264 GB, free: 4.789 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004011/0.1127, allocations: 360.8 kB / 0.5268 GB, free: 4.422 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1127, allocations: 0 / 0.5268 GB, free: 4.422 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001863/0.1146, allocations: 0.668 MB / 0.5274 GB, free: 3.754 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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): 40 * 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): 2 systems {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002098/0.1148, allocations: 104.3 kB / 0.5275 GB, free: 3.645 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002616/0.1174, allocations: 1.451 MB / 0.529 GB, free: 2.164 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.035e-05/0.1174, allocations: 12.5 kB / 0.529 GB, free: 2.152 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/0.1192, allocations: 1.067 MB / 0.53 GB, free: 1.062 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008685/0.1201, allocations: 213.5 kB / 0.5302 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/0.125, allocations: 3.113 MB / 0.5333 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.1256, allocations: 0.5059 MB / 0.5337 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003647/0.1259, allocations: 101.4 kB / 0.5338 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.1263, allocations: 197.3 kB / 0.534 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of SimCode: time 1.663e-06/0.1263, allocations: 0 / 0.534 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.048/0.1743, allocations: 37.8 MB / 0.5709 GB, free: 7.562 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9962244369089603]