Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.001112/0.001112, 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.001108/0.001109, allocations: 186.3 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.381/1.381, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.713/1.713, 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.001678/0.001678, allocations: 69.72 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2352, 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.ACLineMatrix_RL_N): time 0.02748/0.2627, allocations: 23.41 MB / 0.8065 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01045/0.2732, allocations: 6.543 MB / 0.8129 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.275, allocations: 95.56 kB / 0.813 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003491/0.2785, allocations: 1.495 MB / 0.8144 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.2826, allocations: 1.824 MB / 0.8162 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00346/0.2861, allocations: 1.46 MB / 0.8176 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00807/0.2942, allocations: 6.896 MB / 0.8244 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008291/0.3025, allocations: 6.961 MB / 0.8312 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004567/0.3071, allocations: 2.839 MB / 0.834 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005301/0.3124, allocations: 3.478 MB / 0.8373 GB, free: 6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009825/0.3134, allocations: 0.5273 MB / 0.8379 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.3161, allocations: 1.178 MB / 0.839 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002729/0.3188, allocations: 2.448 MB / 0.8414 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00361/0.3224, allocations: 2.536 MB / 0.8439 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008154/0.3306, allocations: 8.515 MB / 0.8522 GB, free: 6.754 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3307, allocations: 8 kB / 0.8522 GB, free: 6.746 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3307, allocations: 0 / 0.8522 GB, free: 6.746 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002087/0.3309, allocations: 0 / 0.8522 GB, free: 6.746 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008541/0.3394, allocations: 4.435 MB / 0.8565 GB, free: 2.242 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3395, allocations: 8.031 kB / 0.8565 GB, free: 2.234 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007977/0.3403, allocations: 0.5753 MB / 0.8571 GB, free: 1.648 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008345/0.3487, allocations: 1.685 MB / 0.8587 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005377/0.3541, allocations: 2.688 MB / 0.8614 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.3543, allocations: 279.7 kB / 0.8616 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.3554, allocations: 360.3 kB / 0.862 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.3689, allocations: 7.491 MB / 0.8693 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.644e-05/0.3691, allocations: 15.88 kB / 0.8693 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004873/0.3696, allocations: 163.9 kB / 0.8695 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006283/0.3702, allocations: 479.3 kB / 0.8699 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.3811, allocations: 5.697 MB / 0.8755 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04045/0.4216, allocations: 31.5 MB / 0.9062 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.4246, allocations: 2.093 MB / 0.9083 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002967/0.4276, allocations: 2.186 MB / 0.9104 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.4278, allocations: 17.31 kB / 0.9104 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.4279, allocations: 47.88 kB / 0.9105 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.857e-06/0.4279, allocations: 0 / 0.9105 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=251): time 0.725/1.153, allocations: 77 MB / 0.9857 GB, free: 87.69 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/1.153, allocations: 77.41 kB / 0.9858 GB, free: 87.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/1.155, allocations: 1.67 MB / 0.9874 GB, free: 85.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005204/1.156, allocations: 65.7 kB / 0.9874 GB, free: 85.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007944/1.157, allocations: 1.739 MB / 0.9891 GB, free: 84.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008568/1.158, allocations: 0.8615 MB / 0.99 GB, free: 83.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001271/1.159, allocations: 485.2 kB / 0.9905 GB, free: 82.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.422e-05/1.159, allocations: 307.2 kB / 0.9907 GB, free: 82.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/1.162, allocations: 2.73 MB / 0.9934 GB, free: 79.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003254/1.165, allocations: 3.328 MB / 0.9967 GB, free: 76.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00667/1.172, allocations: 6.392 MB / 1.003 GB, free: 69.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-05/1.172, allocations: 7.938 kB / 1.003 GB, free: 69.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02988/1.202, allocations: 14.68 MB / 1.017 GB, free: 54.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.153e-05/1.202, allocations: 12 kB / 1.017 GB, free: 54.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/1.202, allocations: 20 kB / 1.017 GB, free: 54.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02726/1.229, allocations: 9.236 MB / 1.026 GB, free: 45.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.231, allocations: 303.4 kB / 1.027 GB, free: 45.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07262/1.303, allocations: 52.34 MB / 1.078 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/1.306, allocations: 223.7 kB / 1.078 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005685/1.307, allocations: 96 kB / 1.078 GB, free: 7.695 MB / 0.7481 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003735/1.311, allocations: 1.587 MB / 1.08 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.312, allocations: 241.1 kB / 1.08 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03567/1.347, allocations: 14.76 MB / 1.094 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.67e-05/1.348, allocations: 25.88 kB / 1.094 GB, free: 7.016 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001848/1.348, allocations: 44 kB / 1.094 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.733e-05/1.348, allocations: 11.95 kB / 1.094 GB, free: 6.961 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04568/1.393, allocations: 20.52 MB / 1.114 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-05/1.394, allocations: 8.844 kB / 1.114 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008274/1.394, allocations: 159.8 kB / 1.114 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03116/1.426, allocations: 9.007 MB / 1.123 GB, free: 9.105 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000745/1.426, allocations: 48 kB / 1.123 GB, free: 9.059 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08927/1.516, allocations: 51.92 MB / 1.174 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/1.516, allocations: 11.94 kB / 1.174 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03517/1.551, allocations: 14.35 MB / 1.188 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/1.553, allocations: 0.8493 MB / 1.189 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009293/1.554, allocations: 48 kB / 1.189 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.557, allocations: 215.3 kB / 1.189 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001423/1.559, allocations: 233.5 kB / 1.189 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004108/1.559, allocations: 64 kB / 1.189 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002333/1.561, allocations: 1.129 MB / 1.191 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.344e-06/1.561, allocations: 0 / 1.191 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.006001/1.567, allocations: 1.621 MB / 1.192 GB, free: 1.621 MB / 0.8575 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03498/1.602, allocations: 14.98 MB / 1.207 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02505/1.628, allocations: 10.55 MB / 1.217 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/1.628, allocations: 8 kB / 1.217 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.01894/1.647, allocations: 7.307 MB / 1.224 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/1.65, allocations: 0.5652 MB / 1.225 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5291/2.18, allocations: 50.81 MB / 1.274 GB, free: 304.6 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005205/2.185, allocations: 3.224 MB / 1.277 GB, free: 303.8 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001329/2.186, allocations: 395.6 kB / 1.278 GB, free: 303.8 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001543/2.188, allocations: 1.465 MB / 1.279 GB, free: 303.8 MB / 0.9356 GB Notification: Performance of SimCode: time 1.122e-06/2.188, allocations: 0 / 1.279 GB, free: 303.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1715/2.359, allocations: 119.5 MB / 1.396 GB, free: 225 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/16.41, allocations: 7.641 kB / 1.396 GB, free: 225 MB / 0.9356 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)