Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001096/0.001096, allocations: 102.5 kB / 16.35 MB, free: 5.824 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.001101/0.001101, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002132, allocations: 290.4 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9205/0.9205, allocations: 169.3 MB / 0.4989 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 90.92 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1654, allocations: 86.98 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007377/0.1728, allocations: 6.126 MB / 0.6876 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.308/0.4809, allocations: 3.159 MB / 0.6907 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007751/0.4817, allocations: 30.34 kB / 0.6907 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.4844, allocations: 0.9427 MB / 0.6916 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.4858, allocations: 475.1 kB / 0.6921 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.4872, allocations: 0.4953 MB / 0.6926 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.4888, allocations: 1.099 MB / 0.6936 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.4899, allocations: 0.6472 MB / 0.6943 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007383/0.4906, allocations: 430.6 kB / 0.6947 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000687/0.4913, allocations: 476.9 kB / 0.6951 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.4914, allocations: 58.69 kB / 0.6952 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.4925, allocations: 495.7 kB / 0.6957 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.4928, allocations: 287.2 kB / 0.6959 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003978/0.4932, allocations: 403.7 kB / 0.6963 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.4947, allocations: 1.174 MB / 0.6975 GB, free: 11.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4947, allocations: 1.188 kB / 0.6975 GB, free: 11.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4947, allocations: 0 / 0.6975 GB, free: 11.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.4947, allocations: 0 / 0.6975 GB, free: 11.25 MB / 494.1 MB 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.001645/0.4964, allocations: 1.066 MB / 0.6985 GB, free: 10.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.4964, allocations: 9.609 kB / 0.6985 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.4979, allocations: 218.9 kB / 0.6987 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.4989, allocations: 0.5924 MB / 0.6993 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.499, allocations: 51.83 kB / 0.6994 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.4991, allocations: 64.48 kB / 0.6994 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.501, allocations: 1.034 MB / 0.7004 GB, free: 9.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/0.5011, allocations: 12.42 kB / 0.7004 GB, free: 9.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-05/0.5012, allocations: 27.47 kB / 0.7005 GB, free: 9.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.5013, allocations: 69.48 kB / 0.7005 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.5026, allocations: 0.6946 MB / 0.7012 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004704/0.5073, allocations: 5.732 MB / 0.7068 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007872/0.5081, allocations: 0.6017 MB / 0.7074 GB, free: 3.848 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007443/0.5089, allocations: 423.4 kB / 0.7078 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.5089, allocations: 5.047 kB / 0.7078 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.5089, allocations: 34.03 kB / 0.7078 GB, free: 3.672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=41): time 1.893e-06/0.509, allocations: 0 / 0.7078 GB, free: 3.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.004328/0.5133, allocations: 2.06 MB / 0.7098 GB, free: 2.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.5133, allocations: 55.84 kB / 0.7099 GB, free: 2.559 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.5139, allocations: 461.3 kB / 0.7103 GB, free: 2.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.5139, allocations: 39.58 kB / 0.7104 GB, free: 2.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.5142, allocations: 385.8 kB / 0.7107 GB, free: 1.996 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.5143, allocations: 156.2 kB / 0.7109 GB, free: 1.879 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.5144, allocations: 108.7 kB / 0.711 GB, free: 1.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.5145, allocations: 361.4 kB / 0.7113 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.5149, allocations: 252.6 kB / 0.7116 GB, free: 1.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.5154, allocations: 456.9 kB / 0.712 GB, free: 1.043 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008983/0.5163, allocations: 0.7577 MB / 0.7128 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5163, allocations: 2.781 kB / 0.7128 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001859/0.5182, allocations: 1.059 MB / 0.7138 GB, free: 88 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.5182, allocations: 19.98 kB / 0.7138 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.5182, allocations: 6.875 kB / 0.7138 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.5193, allocations: 333.5 kB / 0.7141 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.5196, allocations: 95.62 kB / 0.7142 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007091/0.5267, allocations: 7.519 MB / 0.7216 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/0.5274, allocations: 29.06 kB / 0.7216 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.5274, allocations: 29.81 kB / 0.7216 GB, free: 9.578 MB / 0.4981 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.0004212/0.5279, allocations: 249.2 kB / 0.7219 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-05/0.528, allocations: 60.41 kB / 0.7219 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.5298, allocations: 0.9219 MB / 0.7228 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5298, allocations: 5.703 kB / 0.7228 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5298, allocations: 3.812 kB / 0.7228 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5298, allocations: 1.875 kB / 0.7228 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.5327, allocations: 1.713 MB / 0.7245 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.5328, allocations: 1.562 kB / 0.7245 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.5329, allocations: 41.55 kB / 0.7246 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009129/0.5339, allocations: 323.8 kB / 0.7249 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/0.5339, allocations: 15.53 kB / 0.7249 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006711/0.5406, allocations: 7.509 MB / 0.7322 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5407, allocations: 5.438 kB / 0.7322 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.5424, allocations: 1.014 MB / 0.7332 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.5427, allocations: 168.8 kB / 0.7334 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.5428, allocations: 15.61 kB / 0.7334 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.5431, allocations: 21.86 kB / 0.7334 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.5432, allocations: 41.06 kB / 0.7334 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.5432, allocations: 14.34 kB / 0.7335 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003477/0.5436, allocations: 307.2 kB / 0.7337 GB, free: 364 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5436, allocations: 1.125 kB / 0.7337 GB, free: 364 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008353/0.5444, allocations: 194.3 kB / 0.7339 GB, free: 344 kB / 0.4981 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.0001505/0.5446, allocations: 122.7 kB / 0.7341 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.5464, allocations: 1.204 MB / 0.7352 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5465, allocations: 0 / 0.7352 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.5476, allocations: 0.8637 MB / 0.7361 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/0.5486, allocations: 205.1 kB / 0.7363 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.5507, allocations: 1.239 MB / 0.7375 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.5513, allocations: 0.988 MB / 0.7384 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.5516, allocations: 101.9 kB / 0.7385 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.5517, allocations: 35.75 kB / 0.7386 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of SimCode: time 7.42e-07/0.5517, allocations: 0 / 0.7386 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of Templates: time 0.01747/0.5692, allocations: 9.98 MB / 0.7483 GB, free: 7.773 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)