Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002271/0.002271, allocations: 193.4 kB / 16.25 MB, free: 6.629 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.455/1.455, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.679/1.679, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001368/0.001368, allocations: 61.86 kB / 0.6711 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2195, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03647/0.256, allocations: 32.89 MB / 0.8151 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.2788, allocations: 14.76 MB / 0.8295 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004315/0.2832, allocations: 143.2 kB / 0.8297 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009303/0.2926, allocations: 3.397 MB / 0.833 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00767/0.3003, allocations: 2.669 MB / 0.8356 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005261/0.3055, allocations: 2.135 MB / 0.8377 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00984/0.3154, allocations: 8.835 MB / 0.8463 GB, free: 12.78 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01437/0.3298, allocations: 11.37 MB / 0.8574 GB, free: 1.293 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006367/0.3362, allocations: 4.011 MB / 0.8613 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005696/0.3419, allocations: 4.217 MB / 0.8654 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.3431, allocations: 0.7188 MB / 0.8661 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.3464, allocations: 1.713 MB / 0.8678 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002574/0.3489, allocations: 2.834 MB / 0.8706 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004506/0.3535, allocations: 3.392 MB / 0.8739 GB, free: 368 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.3644, allocations: 11.19 MB / 0.8848 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3644, allocations: 0 / 0.8848 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3644, allocations: 0 / 0.8848 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002607/0.3647, allocations: 0 / 0.8848 GB, free: 5.133 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01104/0.3757, allocations: 5.983 MB / 0.8907 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3758, allocations: 8.031 kB / 0.8907 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009693/0.3768, allocations: 0.7348 MB / 0.8914 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006373/0.3832, allocations: 1.138 MB / 0.8925 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005799/0.389, allocations: 3.321 MB / 0.8957 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002485/0.3892, allocations: 370.4 kB / 0.8961 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000808/0.3901, allocations: 0.492 MB / 0.8966 GB, free: 8.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.4033, allocations: 8.009 MB / 0.9044 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/0.4034, allocations: 23.73 kB / 0.9044 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004999/0.404, allocations: 216 kB / 0.9046 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00107/0.405, allocations: 441.6 kB / 0.905 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009522/0.4146, allocations: 6.088 MB / 0.911 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3838/0.7983, allocations: 35.13 MB / 0.9453 GB, free: 100.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.8007, allocations: 2.025 MB / 0.9473 GB, free: 99.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002031/0.8027, allocations: 1.868 MB / 0.9491 GB, free: 98.85 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.8028, allocations: 20.41 kB / 0.9491 GB, free: 98.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.8029, allocations: 58.84 kB / 0.9492 GB, free: 98.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 4.218e-06/0.8029, allocations: 3.984 kB / 0.9492 GB, free: 98.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1339/0.9368, allocations: 38.88 MB / 0.9872 GB, free: 81.37 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.9369, allocations: 81.52 kB / 0.9872 GB, free: 81.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.9394, allocations: 2.282 MB / 0.9895 GB, free: 78.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002884/0.9397, allocations: 73.7 kB / 0.9895 GB, free: 78.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008671/0.9406, allocations: 2.279 MB / 0.9918 GB, free: 76.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005685/0.9412, allocations: 0.9303 MB / 0.9927 GB, free: 75.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007575/0.9419, allocations: 0.51 MB / 0.9932 GB, free: 75.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.942, allocations: 301.1 kB / 0.9934 GB, free: 74.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002698/0.9447, allocations: 1.973 MB / 0.9954 GB, free: 72.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003961/0.9487, allocations: 2.606 MB / 0.9979 GB, free: 70.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008339/0.957, allocations: 4.933 MB / 1.003 GB, free: 64.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.852e-05/0.9571, allocations: 4 kB / 1.003 GB, free: 64.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01952/0.9766, allocations: 7.756 MB / 1.01 GB, free: 57.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.9767, allocations: 19.92 kB / 1.01 GB, free: 56.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/0.9768, allocations: 16 kB / 1.01 GB, free: 56.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01337/0.9902, allocations: 3.24 MB / 1.014 GB, free: 53.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/0.9927, allocations: 403.3 kB / 1.014 GB, free: 53.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03773/1.03, allocations: 33.89 MB / 1.047 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/1.033, allocations: 171.8 kB / 1.047 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004607/1.034, allocations: 108 kB / 1.047 GB, free: 18.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002862/1.037, allocations: 1.793 MB / 1.049 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008519/1.038, allocations: 336.1 kB / 1.049 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.05, allocations: 7.36 MB / 1.057 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/1.05, allocations: 28 kB / 1.057 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.331e-05/1.05, allocations: 28 kB / 1.057 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/1.05, allocations: 11.95 kB / 1.057 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02093/1.071, allocations: 12.92 MB / 1.069 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/1.071, allocations: 8 kB / 1.069 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00094/1.072, allocations: 231.4 kB / 1.069 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008283/1.08, allocations: 2.881 MB / 1.072 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002796/1.081, allocations: 55.94 kB / 1.072 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04318/1.124, allocations: 32.7 MB / 1.104 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/1.124, allocations: 4 kB / 1.104 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/1.137, allocations: 6.886 MB / 1.111 GB, free: 15.79 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002226/1.139, allocations: 0.7821 MB / 1.112 GB, free: 14.99 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/1.14, allocations: 59.12 kB / 1.112 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.141, allocations: 167.8 kB / 1.112 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000957/1.142, allocations: 257.4 kB / 1.112 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/1.143, allocations: 76 kB / 1.112 GB, free: 14.45 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002193/1.145, allocations: 1.521 MB / 1.114 GB, free: 12.92 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/1.145, allocations: 4 kB / 1.114 GB, free: 12.92 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004133/1.149, allocations: 1.371 MB / 1.115 GB, free: 11.55 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01254/1.162, allocations: 7.513 MB / 1.122 GB, free: 3.809 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01464/1.176, allocations: 8.365 MB / 1.131 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.176, allocations: 0 / 1.131 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007816/1.184, allocations: 4.425 MB / 1.135 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005042/1.189, allocations: 1.104 MB / 1.136 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07835/1.268, allocations: 46.05 MB / 1.181 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004546/1.272, allocations: 3.643 MB / 1.185 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002431/1.275, allocations: 0.5594 MB / 1.185 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002527/1.277, allocations: 1.968 MB / 1.187 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of SimCode: time 1.222e-06/1.277, allocations: 4 kB / 1.187 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5424/1.82, allocations: 113 MB / 1.297 GB, free: 321 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/1.82, allocations: 243.9 kB / 1.298 GB, free: 320.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.116/6.935, allocations: 0 / 1.298 GB, free: 320.7 MB / 0.9512 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)