Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001405/0.001405, allocations: 192.5 kB / 16.14 MB, free: 6.664 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.279/1.279, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 279.2 kB / 290.2 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9184/0.9184, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 91.97 kB / 0.5945 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1397, allocations: 86.98 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01156/0.1513, allocations: 10.85 MB / 0.69 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.1628, allocations: 8.802 MB / 0.6986 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006872/0.1635, allocations: 51.69 kB / 0.6987 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.167, allocations: 1.564 MB / 0.7002 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.1707, allocations: 1.396 MB / 0.7016 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.1725, allocations: 0.6156 MB / 0.7022 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003077/0.1755, allocations: 2.902 MB / 0.705 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001817/0.1774, allocations: 1.329 MB / 0.7063 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.179, allocations: 0.8831 MB / 0.7072 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.1806, allocations: 1.027 MB / 0.7082 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004367/0.181, allocations: 88 kB / 0.7083 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.1829, allocations: 0.9046 MB / 0.7091 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006398/0.1836, allocations: 0.5217 MB / 0.7097 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000978/0.1846, allocations: 0.8314 MB / 0.7105 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.1871, allocations: 2.538 MB / 0.7129 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1871, allocations: 4 kB / 0.7129 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1871, allocations: 4 kB / 0.7129 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.104e-05/0.1871, allocations: 0 / 0.7129 GB, free: 14.77 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003081/0.1902, allocations: 2.014 MB / 0.7149 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1903, allocations: 12.03 kB / 0.7149 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.2007, allocations: 2.05 MB / 0.7169 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.2028, allocations: 1.123 MB / 0.718 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.125e-05/0.2029, allocations: 82.7 kB / 0.7181 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.2031, allocations: 124 kB / 0.7182 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005034/0.2081, allocations: 2.483 MB / 0.7206 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.2082, allocations: 7.844 kB / 0.7207 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.2083, allocations: 55.98 kB / 0.7207 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003354/0.2087, allocations: 134.1 kB / 0.7208 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006547/0.2152, allocations: 2.541 MB / 0.7233 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.2276, allocations: 10.07 MB / 0.7332 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005647/0.2333, allocations: 1.952 MB / 0.7351 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/0.2358, allocations: 0.968 MB / 0.736 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/0.2359, allocations: 12.42 kB / 0.736 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.2359, allocations: 39 kB / 0.7361 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.275e-06/0.2359, allocations: 0 / 0.7361 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.02956/0.2655, allocations: 8.707 MB / 0.7446 GB, free: 13.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.2656, allocations: 60.06 kB / 0.7446 GB, free: 13.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.267, allocations: 1.104 MB / 0.7457 GB, free: 12.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.2671, allocations: 37.7 kB / 0.7457 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/0.2676, allocations: 0.738 MB / 0.7464 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.2678, allocations: 283.9 kB / 0.7467 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003832/0.2682, allocations: 198.4 kB / 0.7469 GB, free: 10.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2684, allocations: 349.9 kB / 0.7472 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002703/0.2711, allocations: 1.071 MB / 0.7483 GB, free: 9.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002806/0.2739, allocations: 1.313 MB / 0.7496 GB, free: 8.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005487/0.2794, allocations: 2.374 MB / 0.7519 GB, free: 5.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.2794, allocations: 0 / 0.7519 GB, free: 5.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008273/0.2877, allocations: 3.285 MB / 0.7551 GB, free: 2.281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.2877, allocations: 8 kB / 0.7551 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2877, allocations: 4 kB / 0.7551 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002786/0.2905, allocations: 0.795 MB / 0.7559 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.2923, allocations: 407.3 kB / 0.7563 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.307, allocations: 14.7 MB / 0.7706 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.309, allocations: 291.6 kB / 0.7709 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.3092, allocations: 55.95 kB / 0.771 GB, free: 0.9414 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007073/0.3099, allocations: 398.1 kB / 0.7713 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.3101, allocations: 142.3 kB / 0.7715 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2777/0.5879, allocations: 3.2 MB / 0.7746 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.5879, allocations: 11.53 kB / 0.7746 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.588, allocations: 8.281 kB / 0.7746 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.588, allocations: 3.891 kB / 0.7746 GB, free: 89.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.5982, allocations: 4.908 MB / 0.7794 GB, free: 88.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/0.5982, allocations: 3.281 kB / 0.7794 GB, free: 88.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.5997, allocations: 354.1 kB / 0.7798 GB, free: 88.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/0.602, allocations: 0.6945 MB / 0.7804 GB, free: 88.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.443e-05/0.6021, allocations: 32.64 kB / 0.7805 GB, free: 88.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.613, allocations: 14.32 MB / 0.7944 GB, free: 76.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6131, allocations: 1.688 kB / 0.7944 GB, free: 76.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006888/0.62, allocations: 3.047 MB / 0.7974 GB, free: 75.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.6206, allocations: 386.8 kB / 0.7978 GB, free: 75.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.6208, allocations: 23.53 kB / 0.7978 GB, free: 75.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.6224, allocations: 291.8 kB / 0.7981 GB, free: 75.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.6227, allocations: 79.89 kB / 0.7982 GB, free: 75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.056e-05/0.6228, allocations: 40.3 kB / 0.7982 GB, free: 74.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008645/0.6237, allocations: 0.7419 MB / 0.7989 GB, free: 74.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6237, allocations: 0 / 0.7989 GB, free: 74.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001291/0.625, allocations: 433.4 kB / 0.7993 GB, free: 74.65 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002029/0.6252, allocations: 124.4 kB / 0.7995 GB, free: 74.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007317/0.6325, allocations: 3.623 MB / 0.803 GB, free: 72.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6325, allocations: 1.125 kB / 0.803 GB, free: 72.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004015/0.6366, allocations: 2.377 MB / 0.8053 GB, free: 71.49 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.6385, allocations: 489.9 kB / 0.8058 GB, free: 71.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006185/0.6447, allocations: 4.065 MB / 0.8098 GB, free: 68.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007893/0.6456, allocations: 1.385 MB / 0.8111 GB, free: 67.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001431/0.647, allocations: 384.3 kB / 0.8115 GB, free: 67.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.6473, allocations: 101.1 kB / 0.8116 GB, free: 67.48 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.6473, allocations: 0 / 0.8116 GB, free: 67.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.03319/0.6805, allocations: 29.33 MB / 0.8402 GB, free: 44.53 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)