Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009016/0.0009018, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00101/0.00101, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000504/0.0005041, allocations: 17.78 kB / 0.6737 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01184/0.2262, allocations: 9.717 MB / 0.7968 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.2389, allocations: 8.237 MB / 0.8048 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.2403, allocations: 55.56 kB / 0.8049 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009716/0.2413, allocations: 269.8 kB / 0.8051 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.2453, allocations: 1.255 MB / 0.8064 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.2466, allocations: 478 kB / 0.8068 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002951/0.2496, allocations: 2.45 MB / 0.8092 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002944/0.2526, allocations: 1.777 MB / 0.8109 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.2539, allocations: 0.7935 MB / 0.8117 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.2551, allocations: 0.9144 MB / 0.8126 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.2552, allocations: 56 kB / 0.8127 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.2563, allocations: 455.4 kB / 0.8131 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004402/0.2567, allocations: 478.4 kB / 0.8136 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003627/0.2571, allocations: 340.8 kB / 0.8139 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.259, allocations: 1.96 MB / 0.8158 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.259, allocations: 0 / 0.8158 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2591, allocations: 0 / 0.8158 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.594e-05/0.2591, allocations: 0 / 0.8158 GB, free: 14.61 MB / 0.6387 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.002661/0.2618, allocations: 1.737 MB / 0.8175 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2618, allocations: 8.031 kB / 0.8175 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009197/0.271, allocations: 2.104 MB / 0.8196 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.273, allocations: 1.079 MB / 0.8206 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.2731, allocations: 98.25 kB / 0.8207 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.2733, allocations: 116 kB / 0.8208 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004589/0.2779, allocations: 2.49 MB / 0.8232 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/0.2779, allocations: 15.8 kB / 0.8233 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.2781, allocations: 55.98 kB / 0.8233 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002757/0.2784, allocations: 126.1 kB / 0.8234 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005843/0.2842, allocations: 2.58 MB / 0.826 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.296, allocations: 10.11 MB / 0.8358 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/0.301, allocations: 2.006 MB / 0.8378 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/0.3032, allocations: 0.9855 MB / 0.8388 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.3033, allocations: 8.438 kB / 0.8388 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3033, allocations: 35 kB / 0.8388 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 2.205e-06/0.3033, allocations: 3.938 kB / 0.8388 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.02557/0.3289, allocations: 8.777 MB / 0.8474 GB, free: 13.23 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.329, allocations: 60.06 kB / 0.8474 GB, free: 13.16 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.3305, allocations: 1.085 MB / 0.8485 GB, free: 12.06 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.129e-05/0.3306, allocations: 37.7 kB / 0.8485 GB, free: 12.02 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.3311, allocations: 0.7341 MB / 0.8492 GB, free: 11.27 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.3314, allocations: 283.9 kB / 0.8495 GB, free: 10.99 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.3315, allocations: 24 kB / 0.8495 GB, free: 10.97 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3316, allocations: 345.9 kB / 0.8499 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/0.334, allocations: 1.091 MB / 0.8509 GB, free: 9.531 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/0.3366, allocations: 1.321 MB / 0.8522 GB, free: 8.113 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/0.3391, allocations: 1.146 MB / 0.8533 GB, free: 6.969 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3391, allocations: 4 kB / 0.8533 GB, free: 6.965 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007282/0.3464, allocations: 3.299 MB / 0.8566 GB, free: 3.629 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3464, allocations: 8.875 kB / 0.8566 GB, free: 3.621 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3464, allocations: 8 kB / 0.8566 GB, free: 3.613 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002408/0.3489, allocations: 0.7911 MB / 0.8574 GB, free: 2.797 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.3505, allocations: 431.3 kB / 0.8578 GB, free: 2.375 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.3643, allocations: 14.67 MB / 0.8721 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/0.3664, allocations: 299.5 kB / 0.8724 GB, free: 2.344 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.3665, allocations: 55.95 kB / 0.8724 GB, free: 2.289 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007993/0.3674, allocations: 398.3 kB / 0.8728 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.3676, allocations: 146.3 kB / 0.8729 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007477/0.3751, allocations: 3.242 MB / 0.8761 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.3751, allocations: 11.95 kB / 0.8761 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/0.3751, allocations: 8 kB / 0.8761 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3751, allocations: 8.109 kB / 0.8761 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009875/0.385, allocations: 4.948 MB / 0.881 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.3851, allocations: 4.328 kB / 0.881 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.3864, allocations: 363.4 kB / 0.8813 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/0.3886, allocations: 0.6974 MB / 0.882 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.836e-05/0.3887, allocations: 31.97 kB / 0.882 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01426/0.403, allocations: 14.32 MB / 0.896 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.403, allocations: 4 kB / 0.896 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007336/0.4103, allocations: 3.073 MB / 0.899 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000713/0.4111, allocations: 387.2 kB / 0.8994 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003069/0.4114, allocations: 16 kB / 0.8994 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.4131, allocations: 303.5 kB / 0.8997 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/0.4133, allocations: 76.5 kB / 0.8998 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.444e-05/0.4134, allocations: 39.95 kB / 0.8998 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001067/0.4145, allocations: 0.7327 MB / 0.9005 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4145, allocations: 0 / 0.9005 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001654/0.4161, allocations: 432 kB / 0.9009 GB, free: 3.738 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002611/0.4164, allocations: 127.2 kB / 0.901 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007576/0.424, allocations: 3.66 MB / 0.9046 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.424, allocations: 4 kB / 0.9046 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004499/0.4285, allocations: 2.379 MB / 0.9069 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.4308, allocations: 495.1 kB / 0.9074 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007277/0.4381, allocations: 3.949 MB / 0.9113 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.4394, allocations: 1.384 MB / 0.9126 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001689/0.4411, allocations: 375.9 kB / 0.913 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/0.4415, allocations: 103.4 kB / 0.9131 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.4415, allocations: 0 / 0.9131 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of Templates: time 0.4313/0.8729, allocations: 28.09 MB / 0.9405 GB, free: 121.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) Environment - environmentSimulation: