Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002407/0.002407, allocations: 290.1 kB / 304.8 MB, free: 3.516 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.049/1.049, allocations: 180.9 MB / 0.5282 GB, free: 1.867 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002845/0.002845, allocations: 99.84 kB / 0.7283 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4615, allocations: 94.16 MB / 0.8203 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05309/0.5145, allocations: 39.77 MB / 0.8591 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02155/0.5361, allocations: 11.4 MB / 0.8703 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004535/0.5406, allocations: 155.2 kB / 0.8704 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01261/0.5532, allocations: 4.525 MB / 0.8748 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008198/0.5614, allocations: 2.336 MB / 0.8771 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006577/0.568, allocations: 2.245 MB / 0.8793 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01345/0.5815, allocations: 9.276 MB / 0.8884 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01053/0.592, allocations: 5.975 MB / 0.8942 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007112/0.5991, allocations: 4.047 MB / 0.8982 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007844/0.6069, allocations: 4.747 MB / 0.9028 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.6087, allocations: 0.8242 MB / 0.9036 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.6121, allocations: 1.615 MB / 0.9052 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003547/0.6157, allocations: 3.231 MB / 0.9083 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00515/0.6208, allocations: 3.653 MB / 0.9119 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.6353, allocations: 12.35 MB / 0.924 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6353, allocations: 0 / 0.924 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.967e-06/0.6353, allocations: 4 kB / 0.924 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003633/0.6357, allocations: 0 / 0.924 GB, free: 3.207 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01631/0.652, allocations: 6.467 MB / 0.9303 GB, free: 12.66 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.652, allocations: 12.03 kB / 0.9303 GB, free: 12.65 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005348/0.6574, allocations: 1.094 MB / 0.9314 GB, free: 11.55 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007272/0.6647, allocations: 3.632 MB / 0.9349 GB, free: 7.867 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003993/0.6651, allocations: 423.8 kB / 0.9353 GB, free: 7.453 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001361/0.6664, allocations: 0.5472 MB / 0.9358 GB, free: 6.906 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/0.6873, allocations: 9.381 MB / 0.945 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002249/0.6876, allocations: 19.83 kB / 0.945 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001552/0.6891, allocations: 247.9 kB / 0.9453 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007022/0.6898, allocations: 426.9 kB / 0.9457 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01545/0.7053, allocations: 7.12 MB / 0.9526 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05466/0.7599, allocations: 41.07 MB / 0.9927 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005206/0.7651, allocations: 2.904 MB / 0.9956 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00325/0.7684, allocations: 1.954 MB / 0.9975 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.7685, allocations: 22 kB / 0.9975 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.957e-05/0.7686, allocations: 60.56 kB / 0.9976 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=209): time 4.459e-06/0.7686, allocations: 0 / 0.9976 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=212): time 0.02624/0.7949, allocations: 10.57 MB / 1.008 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.7949, allocations: 77.34 kB / 1.008 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003553/0.7985, allocations: 2.006 MB / 1.01 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002933/0.7988, allocations: 65.7 kB / 1.01 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001995/0.8008, allocations: 2.478 MB / 1.012 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/0.8019, allocations: 0.7669 MB / 1.013 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.803, allocations: 477.5 kB / 1.014 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.8032, allocations: 309.1 kB / 1.014 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/0.8057, allocations: 1.368 MB / 1.015 GB, free: 1.348 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/0.8086, allocations: 2.108 MB / 1.017 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005631/0.8143, allocations: 3.766 MB / 1.021 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/0.8143, allocations: 8 kB / 1.021 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00938/0.8237, allocations: 5.031 MB / 1.026 GB, free: 5.781 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/0.8237, allocations: 16.06 kB / 1.026 GB, free: 5.766 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/0.8237, allocations: 24 kB / 1.026 GB, free: 5.742 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003957/0.8277, allocations: 1.584 MB / 1.027 GB, free: 4.148 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.8295, allocations: 451.2 kB / 1.028 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02583/0.8554, allocations: 18.59 MB / 1.046 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.8578, allocations: 151.8 kB / 1.046 GB, free: 416 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000476/0.8583, allocations: 104 kB / 1.046 GB, free: 312 kB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003862/0.8621, allocations: 1.945 MB / 1.048 GB, free: 14.35 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008017/0.8629, allocations: 298.2 kB / 1.048 GB, free: 14.05 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008055/0.871, allocations: 4.4 MB / 1.053 GB, free: 9.621 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.871, allocations: 20 kB / 1.053 GB, free: 9.602 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.726e-05/0.8711, allocations: 19.98 kB / 1.053 GB, free: 9.582 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.8711, allocations: 7.969 kB / 1.053 GB, free: 9.574 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/0.8902, allocations: 9.617 MB / 1.062 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.8902, allocations: 4 kB / 1.062 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.8912, allocations: 235.6 kB / 1.062 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/0.8948, allocations: 1.419 MB / 1.064 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.895, allocations: 40 kB / 1.064 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02579/0.9208, allocations: 18.59 MB / 1.082 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/0.9208, allocations: 4 kB / 1.082 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008737/0.9295, allocations: 4.503 MB / 1.086 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/0.9313, allocations: 0.6474 MB / 1.087 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006791/0.9319, allocations: 39.98 kB / 1.087 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.9335, allocations: 119.8 kB / 1.087 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005937/0.9341, allocations: 181.6 kB / 1.087 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/0.9343, allocations: 60.25 kB / 1.087 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002471/0.9368, allocations: 1.319 MB / 1.089 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 8e-08/0.9368, allocations: 0 / 1.089 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003948/0.9407, allocations: 1.137 MB / 1.09 GB, free: 2.832 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003992/0.9411, allocations: 167 kB / 1.09 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.4162/1.357, allocations: 4.549 MB / 1.094 GB, free: 244.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.357, allocations: 2.594 kB / 1.094 GB, free: 244.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004722/1.362, allocations: 2.793 MB / 1.097 GB, free: 244.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003667/1.366, allocations: 0.9071 MB / 1.098 GB, free: 244.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/1.382, allocations: 9.571 MB / 1.107 GB, free: 240.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003917/1.385, allocations: 3.694 MB / 1.111 GB, free: 239.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002084/1.388, allocations: 0.5578 MB / 1.112 GB, free: 239.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/1.388, allocations: 154.9 kB / 1.112 GB, free: 239.4 MB / 0.8262 GB Notification: Performance of SimCode: time 1.704e-06/1.388, allocations: 0 / 1.112 GB, free: 239.4 MB / 0.8262 GB Notification: Performance of Templates: time 0.0743/1.462, allocations: 53.23 MB / 1.164 GB, free: 196.1 MB / 0.8262 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.602501761168242]