Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001321/0.001321, allocations: 194.8 kB / 16.25 MB, free: 6.629 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002501/0.002501, allocations: 278.8 kB / 290.4 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.5069 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004631/0.004631, allocations: 96.03 kB / 0.6059 GB, free: 25.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1967, allocations: 89.16 MB / 0.693 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009007/0.2057, allocations: 6.726 MB / 0.6996 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005311/0.2111, allocations: 3.02 MB / 0.7025 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005085/0.2116, allocations: 27.81 kB / 0.7025 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.2141, allocations: 0.886 MB / 0.7034 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.2153, allocations: 477.7 kB / 0.7039 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.2165, allocations: 388.9 kB / 0.7042 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.218, allocations: 1.22 MB / 0.7054 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.2192, allocations: 0.7365 MB / 0.7061 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006651/0.2199, allocations: 478.2 kB / 0.7066 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006951/0.2206, allocations: 0.537 MB / 0.7071 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.916e-05/0.2207, allocations: 68 kB / 0.7072 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006788/0.2214, allocations: 375.3 kB / 0.7075 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003046/0.2217, allocations: 311.1 kB / 0.7078 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004502/0.2222, allocations: 453.7 kB / 0.7083 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.2236, allocations: 1.223 MB / 0.7095 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2236, allocations: 0 / 0.7095 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2236, allocations: 4 kB / 0.7095 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.2237, allocations: 3.938 kB / 0.7095 GB, free: 3.754 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002117/0.2258, allocations: 1.168 MB / 0.7106 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2258, allocations: 8.031 kB / 0.7106 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.2274, allocations: 235.6 kB / 0.7108 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008252/0.2282, allocations: 0.5453 MB / 0.7114 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.2283, allocations: 49.67 kB / 0.7114 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.2284, allocations: 60.36 kB / 0.7115 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.23, allocations: 1.089 MB / 0.7125 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.2301, allocations: 7.938 kB / 0.7126 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.363e-05/0.2302, allocations: 31.98 kB / 0.7126 GB, free: 376 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/0.2303, allocations: 89.25 kB / 0.7127 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.2316, allocations: 0.7505 MB / 0.7134 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00599/0.2376, allocations: 5.893 MB / 0.7192 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.2387, allocations: 0.5583 MB / 0.7197 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.2392, allocations: 326 kB / 0.72 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.2393, allocations: 4.438 kB / 0.72 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.2393, allocations: 39 kB / 0.7201 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 5.962e-06/0.2393, allocations: 4 kB / 0.7201 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004146/0.2435, allocations: 1.982 MB / 0.722 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.2435, allocations: 55.84 kB / 0.722 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000696/0.2443, allocations: 0.5586 MB / 0.7226 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.2443, allocations: 37.7 kB / 0.7226 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.2446, allocations: 414.9 kB / 0.723 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.2448, allocations: 173.6 kB / 0.7232 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.245, allocations: 118.6 kB / 0.7233 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.2452, allocations: 378.7 kB / 0.7237 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.2457, allocations: 273.8 kB / 0.7239 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.2463, allocations: 0.4892 MB / 0.7244 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.2474, allocations: 0.8093 MB / 0.7252 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2475, allocations: 4 kB / 0.7252 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001944/0.2494, allocations: 1.087 MB / 0.7263 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2494, allocations: 8 kB / 0.7263 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.2495, allocations: 7.984 kB / 0.7263 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008847/0.2504, allocations: 283.2 kB / 0.7265 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.2509, allocations: 127.8 kB / 0.7267 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007442/0.2583, allocations: 7.13 MB / 0.7336 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/0.2589, allocations: 39.97 kB / 0.7337 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.259, allocations: 31.94 kB / 0.7337 GB, free: 9.371 MB / 0.5294 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003877/0.2594, allocations: 257.5 kB / 0.7339 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.2595, allocations: 71.16 kB / 0.734 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.2612, allocations: 0.8962 MB / 0.7349 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.2612, allocations: 4 kB / 0.7349 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2613, allocations: 4 kB / 0.7349 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.2613, allocations: 7.984 kB / 0.7349 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.2641, allocations: 1.724 MB / 0.7366 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2641, allocations: 0 / 0.7366 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.2644, allocations: 63.83 kB / 0.7366 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007925/0.2652, allocations: 271.3 kB / 0.7369 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.2652, allocations: 12 kB / 0.7369 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007287/0.2725, allocations: 7.123 MB / 0.7439 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.2725, allocations: 3.938 kB / 0.7439 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.2742, allocations: 0.9835 MB / 0.7448 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.2745, allocations: 192.2 kB / 0.745 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.373e-05/0.2746, allocations: 8 kB / 0.745 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.275, allocations: 39.89 kB / 0.7451 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.2751, allocations: 35.89 kB / 0.7451 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.2752, allocations: 16 kB / 0.7451 GB, free: 12.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004629/0.2756, allocations: 387.1 kB / 0.7455 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2756, allocations: 4 kB / 0.7455 GB, free: 12.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000808/0.2765, allocations: 224 kB / 0.7457 GB, free: 12.32 MB / 0.545 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001584/0.2766, allocations: 114.4 kB / 0.7458 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002225/0.2789, allocations: 1.338 MB / 0.7471 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.2789, allocations: 4 kB / 0.7471 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.2802, allocations: 0.8896 MB / 0.748 GB, free: 9.867 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.2813, allocations: 218.1 kB / 0.7482 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.2838, allocations: 1.649 MB / 0.7498 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.2845, allocations: 1.016 MB / 0.7508 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004296/0.285, allocations: 118 kB / 0.7509 GB, free: 6.801 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.2851, allocations: 43.44 kB / 0.751 GB, free: 6.758 MB / 0.545 GB Notification: Performance of SimCode: time 7.22e-07/0.2851, allocations: 0 / 0.751 GB, free: 6.758 MB / 0.545 GB Notification: Performance of Templates: time 0.02125/0.3063, allocations: 11.24 MB / 0.7619 GB, free: 11.64 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)