Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002163/0.002163, allocations: 188 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.793/1.793, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002484/0.002485, allocations: 70.95 kB / 0.6723 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2747, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00852/0.2832, allocations: 6.057 MB / 0.79 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005466/0.2887, allocations: 3.208 MB / 0.7932 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005855/0.2894, allocations: 31.81 kB / 0.7932 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.2918, allocations: 0.9253 MB / 0.7941 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.2932, allocations: 473.6 kB / 0.7946 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.2945, allocations: 486.7 kB / 0.795 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001296/0.2958, allocations: 1.092 MB / 0.7961 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009198/0.2968, allocations: 0.6349 MB / 0.7967 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005835/0.2974, allocations: 434.4 kB / 0.7971 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005837/0.2979, allocations: 474.2 kB / 0.7976 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.298, allocations: 60 kB / 0.7976 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008667/0.2989, allocations: 490.9 kB / 0.7981 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.2992, allocations: 287.2 kB / 0.7984 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003741/0.2996, allocations: 401.9 kB / 0.7988 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.3009, allocations: 1.172 MB / 0.7999 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3009, allocations: 0 / 0.7999 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.194e-06/0.301, allocations: 4 kB / 0.7999 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.301, allocations: 0 / 0.7999 GB, free: 12.5 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001747/0.3027, allocations: 1.056 MB / 0.8009 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3028, allocations: 8.031 kB / 0.801 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.3043, allocations: 219.6 kB / 0.8012 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009207/0.3052, allocations: 0.5766 MB / 0.8017 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.3053, allocations: 53.66 kB / 0.8018 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.3054, allocations: 64.36 kB / 0.8018 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.3069, allocations: 1.03 MB / 0.8028 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.3069, allocations: 15.83 kB / 0.8029 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.307, allocations: 27.98 kB / 0.8029 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.076e-05/0.3071, allocations: 65.28 kB / 0.8029 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.3082, allocations: 0.6918 MB / 0.8036 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005135/0.3133, allocations: 5.733 MB / 0.8092 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/0.3142, allocations: 0.6074 MB / 0.8098 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/0.315, allocations: 416.6 kB / 0.8102 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.315, allocations: 4 kB / 0.8102 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.315, allocations: 38.56 kB / 0.8103 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.995e-06/0.3151, allocations: 4 kB / 0.8103 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004385/0.3194, allocations: 2.045 MB / 0.8123 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3195, allocations: 59.41 kB / 0.8123 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.32, allocations: 458.6 kB / 0.8127 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.3201, allocations: 37.7 kB / 0.8128 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.3204, allocations: 387 kB / 0.8132 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.3205, allocations: 145.9 kB / 0.8133 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.3207, allocations: 114.2 kB / 0.8134 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3208, allocations: 358.8 kB / 0.8137 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.3212, allocations: 245.2 kB / 0.814 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.3217, allocations: 468.9 kB / 0.8144 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008871/0.3226, allocations: 0.7479 MB / 0.8152 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3226, allocations: 4 kB / 0.8152 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001825/0.3244, allocations: 1.07 MB / 0.8162 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.3245, allocations: 8 kB / 0.8162 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.3245, allocations: 8 kB / 0.8162 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.3255, allocations: 331.5 kB / 0.8165 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.3259, allocations: 103.8 kB / 0.8166 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00724/0.3331, allocations: 7.512 MB / 0.824 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.3337, allocations: 28.03 kB / 0.824 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.3337, allocations: 31.98 kB / 0.824 GB, free: 2.188 MB / 0.6387 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003507/0.3341, allocations: 241.9 kB / 0.8243 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.092e-05/0.3342, allocations: 63.28 kB / 0.8243 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.3359, allocations: 0.9081 MB / 0.8252 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.3359, allocations: 11.92 kB / 0.8252 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3359, allocations: 4 kB / 0.8252 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3359, allocations: 0 / 0.8252 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.3386, allocations: 1.704 MB / 0.8269 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3386, allocations: 0 / 0.8269 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.3388, allocations: 56.22 kB / 0.8269 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000944/0.3397, allocations: 323.2 kB / 0.8272 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.3398, allocations: 8 kB / 0.8273 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007242/0.347, allocations: 7.509 MB / 0.8346 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.347, allocations: 4 kB / 0.8346 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.3487, allocations: 1.011 MB / 0.8356 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.349, allocations: 172.4 kB / 0.8357 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.3491, allocations: 12.28 kB / 0.8358 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.3493, allocations: 23.97 kB / 0.8358 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.3495, allocations: 39.89 kB / 0.8358 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.3495, allocations: 15.94 kB / 0.8358 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003411/0.3498, allocations: 310.9 kB / 0.8361 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3498, allocations: 0 / 0.8361 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007777/0.3506, allocations: 199.9 kB / 0.8363 GB, free: 4.848 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001677/0.3508, allocations: 115.1 kB / 0.8364 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.3527, allocations: 1.203 MB / 0.8376 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3527, allocations: 3.938 kB / 0.8376 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.3539, allocations: 0.8736 MB / 0.8385 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009838/0.3549, allocations: 204 kB / 0.8387 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.3568, allocations: 1.208 MB / 0.8398 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005831/0.3574, allocations: 0.9921 MB / 0.8408 GB, free: 76 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000289/0.3577, allocations: 101.2 kB / 0.8409 GB, free: 15.97 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.3578, allocations: 39.44 kB / 0.8409 GB, free: 15.93 MB / 0.67 GB Notification: Performance of SimCode: time 4e-07/0.3578, allocations: 0 / 0.8409 GB, free: 15.93 MB / 0.67 GB Notification: Performance of Templates: time 0.01744/0.3752, allocations: 9.949 MB / 0.8507 GB, free: 6.082 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)