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.001355/0.001355, 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.001303/0.001303, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.467/1.467, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.778/1.778, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001711/0.001711, allocations: 72.56 kB / 0.6718 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2675, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03557/0.3031, allocations: 33.19 MB / 0.816 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02221/0.3253, allocations: 14.92 MB / 0.8306 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003469/0.3288, allocations: 151.2 kB / 0.8308 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009443/0.3383, allocations: 3.649 MB / 0.8343 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008162/0.3465, allocations: 2.89 MB / 0.8371 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00588/0.3524, allocations: 2.333 MB / 0.8394 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01159/0.364, allocations: 8.804 MB / 0.848 GB, free: 11.12 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01306/0.3771, allocations: 9.585 MB / 0.8574 GB, free: 1.41 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007416/0.3846, allocations: 3.953 MB / 0.8612 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006223/0.3909, allocations: 4.042 MB / 0.8652 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001545/0.3924, allocations: 0.7188 MB / 0.8659 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/0.396, allocations: 1.716 MB / 0.8676 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002572/0.3986, allocations: 2.822 MB / 0.8703 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004335/0.403, allocations: 3.392 MB / 0.8736 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.4138, allocations: 11.19 MB / 0.8846 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4138, allocations: 0 / 0.8846 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4138, allocations: 0 / 0.8846 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003224/0.4142, allocations: 4 kB / 0.8846 GB, free: 5.496 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.01506/0.4292, allocations: 5.987 MB / 0.8904 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4293, allocations: 8.031 kB / 0.8904 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001597/0.4309, allocations: 0.7232 MB / 0.8911 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007118/0.438, allocations: 1.13 MB / 0.8922 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007646/0.4457, allocations: 3.524 MB / 0.8957 GB, free: 9.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/0.4461, allocations: 374.4 kB / 0.896 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.4478, allocations: 499.8 kB / 0.8965 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/0.4648, allocations: 8.009 MB / 0.9043 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/0.465, allocations: 23.69 kB / 0.9043 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/0.4661, allocations: 216 kB / 0.9046 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001052/0.4671, allocations: 437.6 kB / 0.905 GB, free: 144 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/0.479, allocations: 6.081 MB / 0.9109 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4463/0.9253, allocations: 34.89 MB / 0.945 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.9281, allocations: 2.024 MB / 0.947 GB, free: 99.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002803/0.9309, allocations: 1.863 MB / 0.9488 GB, free: 98.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.9311, allocations: 17.5 kB / 0.9488 GB, free: 98.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/0.9311, allocations: 58.25 kB / 0.9488 GB, free: 98.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 5.841e-06/0.9311, allocations: 0.5156 kB / 0.9488 GB, free: 98.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1861/1.117, allocations: 38.88 MB / 0.9868 GB, free: 81.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/1.117, allocations: 85.45 kB / 0.9869 GB, free: 81.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003554/1.121, allocations: 2.286 MB / 0.9891 GB, free: 79.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000518/1.121, allocations: 73.7 kB / 0.9892 GB, free: 79.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/1.123, allocations: 2.276 MB / 0.9914 GB, free: 77.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008833/1.123, allocations: 0.9299 MB / 0.9923 GB, free: 76.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/1.125, allocations: 0.5023 MB / 0.9928 GB, free: 75.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.212e-05/1.125, allocations: 305.1 kB / 0.9931 GB, free: 75.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/1.127, allocations: 1.97 MB / 0.995 GB, free: 73.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/1.13, allocations: 2.609 MB / 0.9976 GB, free: 70.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004987/1.135, allocations: 4.933 MB / 1.002 GB, free: 65.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/1.135, allocations: 8 kB / 1.002 GB, free: 65.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01194/1.147, allocations: 7.748 MB / 1.01 GB, free: 57.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/1.147, allocations: 16 kB / 1.01 GB, free: 57.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/1.147, allocations: 16 kB / 1.01 GB, free: 57.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00802/1.155, allocations: 3.22 MB / 1.013 GB, free: 54.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/1.156, allocations: 399.4 kB / 1.014 GB, free: 53.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03576/1.192, allocations: 33.87 MB / 1.047 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/1.195, allocations: 166.5 kB / 1.047 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005216/1.196, allocations: 112 kB / 1.047 GB, free: 18.8 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.003204/1.199, allocations: 1.797 MB / 1.049 GB, free: 17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009504/1.2, allocations: 332.1 kB / 1.049 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/1.212, allocations: 7.353 MB / 1.056 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/1.212, allocations: 32 kB / 1.056 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.947e-05/1.212, allocations: 31.94 kB / 1.056 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.305e-05/1.212, allocations: 11.95 kB / 1.056 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/1.235, allocations: 12.92 MB / 1.069 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.25e-05/1.235, allocations: 12.19 kB / 1.069 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.237, allocations: 223.6 kB / 1.069 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008444/1.245, allocations: 2.856 MB / 1.072 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004742/1.245, allocations: 52 kB / 1.072 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04456/1.29, allocations: 32.67 MB / 1.104 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.29, allocations: 11.94 kB / 1.104 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/1.304, allocations: 6.875 MB / 1.111 GB, free: 360 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/1.306, allocations: 0.7867 MB / 1.111 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009488/1.307, allocations: 67.92 kB / 1.111 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00248/1.309, allocations: 167.8 kB / 1.112 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/1.31, allocations: 245.5 kB / 1.112 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002986/1.311, allocations: 80 kB / 1.112 GB, free: 15 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002998/1.314, allocations: 1.525 MB / 1.113 GB, free: 13.47 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/1.314, allocations: 0 / 1.113 GB, free: 13.47 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005438/1.319, allocations: 1.375 MB / 1.115 GB, free: 12.1 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.01361/1.333, allocations: 7.517 MB / 1.122 GB, free: 4.355 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.345, allocations: 6.912 MB / 1.129 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/1.345, allocations: 4.25 kB / 1.129 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.008101/1.353, allocations: 4.405 MB / 1.133 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005634/1.359, allocations: 1.118 MB / 1.134 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08072/1.44, allocations: 39.02 MB / 1.172 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006781/1.447, allocations: 3.646 MB / 1.176 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002268/1.449, allocations: 0.5634 MB / 1.176 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00267/1.452, allocations: 1.972 MB / 1.178 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/1.452, allocations: 0 / 1.178 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6717/2.123, allocations: 110.1 MB / 1.286 GB, free: 309.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.81/17.93, allocations: 4.797 kB / 1.286 GB, free: 309.2 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)