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.001115/0.001115, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.004578/0.004578, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001997, allocations: 262.7 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9232/0.9232, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 14.34 kB / 0.5987 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01392/0.1625, allocations: 10.34 MB / 0.6952 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.1771, allocations: 8.688 MB / 0.7037 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.1784, allocations: 51.69 kB / 0.7038 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007703/0.1792, allocations: 277.8 kB / 0.704 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003692/0.1829, allocations: 1.399 MB / 0.7054 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.1844, allocations: 0.6103 MB / 0.706 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002946/0.1873, allocations: 2.905 MB / 0.7088 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/0.1904, allocations: 1.949 MB / 0.7107 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.1918, allocations: 0.8245 MB / 0.7115 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.1931, allocations: 0.9375 MB / 0.7125 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1932, allocations: 64 kB / 0.7125 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.1947, allocations: 0.8811 MB / 0.7134 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004446/0.1952, allocations: 490.3 kB / 0.7138 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007288/0.1959, allocations: 0.798 MB / 0.7146 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.1982, allocations: 2.495 MB / 0.7171 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1983, allocations: 7.938 kB / 0.7171 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1983, allocations: 0 / 0.7171 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.1983, allocations: 3.938 kB / 0.7171 GB, free: 14.21 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.002641/0.2009, allocations: 1.706 MB / 0.7187 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.201, allocations: 8.031 kB / 0.7187 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.2125, allocations: 2.12 MB / 0.7208 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.2146, allocations: 1.119 MB / 0.7219 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/0.2147, allocations: 86.69 kB / 0.722 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/0.2149, allocations: 124 kB / 0.7221 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005504/0.2204, allocations: 2.502 MB / 0.7246 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/0.2205, allocations: 11.92 kB / 0.7246 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.2207, allocations: 55.98 kB / 0.7246 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000351/0.221, allocations: 126.1 kB / 0.7247 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007569/0.2286, allocations: 2.584 MB / 0.7273 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/0.2416, allocations: 10.12 MB / 0.7372 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006471/0.2481, allocations: 2.007 MB / 0.7391 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002902/0.2511, allocations: 0.9951 MB / 0.7401 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.2511, allocations: 8.422 kB / 0.7401 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2512, allocations: 39 kB / 0.7401 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/0.2512, allocations: 0 / 0.7401 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.03162/0.2828, allocations: 8.777 MB / 0.7487 GB, free: 12.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.2829, allocations: 64 kB / 0.7488 GB, free: 12.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.2843, allocations: 1.101 MB / 0.7498 GB, free: 11.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.2844, allocations: 37.7 kB / 0.7499 GB, free: 11.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/0.2849, allocations: 0.7418 MB / 0.7506 GB, free: 10.81 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.2852, allocations: 280 kB / 0.7509 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.2853, allocations: 77.67 kB / 0.7509 GB, free: 10.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2855, allocations: 341.9 kB / 0.7513 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003183/0.2887, allocations: 1.095 MB / 0.7523 GB, free: 9.016 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/0.2919, allocations: 1.321 MB / 0.7536 GB, free: 7.602 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006313/0.2982, allocations: 2.425 MB / 0.756 GB, free: 5.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.2983, allocations: 3.938 kB / 0.756 GB, free: 5.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009156/0.3074, allocations: 3.315 MB / 0.7592 GB, free: 1.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.3075, allocations: 8 kB / 0.7592 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.3075, allocations: 8 kB / 0.7592 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/0.3102, allocations: 0.7877 MB / 0.76 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.3122, allocations: 435.2 kB / 0.7604 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/0.3271, allocations: 14.7 MB / 0.7748 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/0.3295, allocations: 303.6 kB / 0.7751 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.3297, allocations: 55.95 kB / 0.7751 GB, free: 352 kB / 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.2853/0.615, allocations: 398.2 kB / 0.7755 GB, free: 87.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004002/0.6154, allocations: 141.8 kB / 0.7756 GB, free: 87.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.6254, allocations: 3.242 MB / 0.7788 GB, free: 87.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.6255, allocations: 7.625 kB / 0.7788 GB, free: 87.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/0.6255, allocations: 13.28 kB / 0.7788 GB, free: 87.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.6255, allocations: 6.234 kB / 0.7788 GB, free: 87.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.6379, allocations: 4.942 MB / 0.7837 GB, free: 86.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.6379, allocations: 3.281 kB / 0.7837 GB, free: 86.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.6397, allocations: 364.6 kB / 0.784 GB, free: 86.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002353/0.642, allocations: 0.6914 MB / 0.7847 GB, free: 86.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.432e-05/0.6421, allocations: 37.61 kB / 0.7847 GB, free: 86.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/0.654, allocations: 14.33 MB / 0.7987 GB, free: 74.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.654, allocations: 7.625 kB / 0.7987 GB, free: 74.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008056/0.6621, allocations: 3.085 MB / 0.8017 GB, free: 73.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007627/0.6629, allocations: 390.5 kB / 0.8021 GB, free: 72.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.6631, allocations: 14.47 kB / 0.8021 GB, free: 72.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/0.665, allocations: 300.7 kB / 0.8024 GB, free: 72.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003118/0.6653, allocations: 85.91 kB / 0.8025 GB, free: 72.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-05/0.6654, allocations: 35.67 kB / 0.8025 GB, free: 72.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00093/0.6664, allocations: 0.7437 MB / 0.8033 GB, free: 72.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6664, allocations: 0 / 0.8033 GB, free: 72.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001488/0.6679, allocations: 430.2 kB / 0.8037 GB, free: 72.46 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.0002415/0.6681, allocations: 139.4 kB / 0.8038 GB, free: 72.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008515/0.6766, allocations: 3.661 MB / 0.8074 GB, free: 70.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6767, allocations: 1 kB / 0.8074 GB, free: 70.69 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004757/0.6814, allocations: 2.386 MB / 0.8097 GB, free: 69.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.6842, allocations: 494.1 kB / 0.8102 GB, free: 68.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007151/0.6914, allocations: 4.096 MB / 0.8142 GB, free: 66.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000867/0.6923, allocations: 1.389 MB / 0.8155 GB, free: 65.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001559/0.6939, allocations: 382.9 kB / 0.8159 GB, free: 65.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.6942, allocations: 105.8 kB / 0.816 GB, free: 65.05 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/0.6942, allocations: 0 / 0.816 GB, free: 65.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.03731/0.7315, allocations: 28.89 MB / 0.8442 GB, free: 42.24 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)