Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001723/0.001723, 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.001961/0.001961, allocations: 185.7 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.441/1.441, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.784/1.784, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001607/0.001607, allocations: 67.36 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2574, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03755/0.295, allocations: 34.69 MB / 0.8175 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01841/0.3135, allocations: 11.63 MB / 0.8289 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.3166, allocations: 163.2 kB / 0.829 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.3267, allocations: 4.246 MB / 0.8332 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006243/0.333, allocations: 1.99 MB / 0.8351 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006828/0.3398, allocations: 2.403 MB / 0.8375 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01113/0.351, allocations: 8.464 MB / 0.8457 GB, free: 13.45 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01415/0.3652, allocations: 11.13 MB / 0.8566 GB, free: 2.203 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005493/0.3707, allocations: 3.735 MB / 0.8602 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005936/0.3767, allocations: 4.198 MB / 0.8643 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001902/0.3786, allocations: 0.7812 MB / 0.8651 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004821/0.3834, allocations: 2.021 MB / 0.8671 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003837/0.3873, allocations: 3.06 MB / 0.8701 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005822/0.3931, allocations: 3.396 MB / 0.8734 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01602/0.4092, allocations: 11.98 MB / 0.8851 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4092, allocations: 0 / 0.8851 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4092, allocations: 3.938 kB / 0.8851 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004027/0.4096, allocations: 0 / 0.8851 GB, free: 4.949 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01909/0.4287, allocations: 5.799 MB / 0.8907 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4288, allocations: 12.03 kB / 0.8908 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002869/0.4317, allocations: 0.809 MB / 0.8915 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00714/0.4388, allocations: 1.052 MB / 0.8926 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007347/0.4462, allocations: 3.457 MB / 0.896 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004195/0.4467, allocations: 411.5 kB / 0.8963 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001949/0.4487, allocations: 0.5393 MB / 0.8969 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/0.4676, allocations: 9.079 MB / 0.9057 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002601/0.4679, allocations: 23.69 kB / 0.9058 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/0.4693, allocations: 240 kB / 0.906 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004089/0.4698, allocations: 358.7 kB / 0.9063 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/0.4847, allocations: 6.822 MB / 0.913 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4648/0.9496, allocations: 39.79 MB / 0.9518 GB, free: 92.94 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.9531, allocations: 3.115 MB / 0.9549 GB, free: 91.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/0.9557, allocations: 1.971 MB / 0.9568 GB, free: 90.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.767e-05/0.9558, allocations: 20.97 kB / 0.9568 GB, free: 90.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.9558, allocations: 49.56 kB / 0.9569 GB, free: 90.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 4.238e-06/0.9558, allocations: 4 kB / 0.9569 GB, free: 90.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02729/0.9831, allocations: 9.98 MB / 0.9666 GB, free: 86.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.9832, allocations: 74.12 kB / 0.9667 GB, free: 86.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/0.986, allocations: 1.522 MB / 0.9682 GB, free: 85.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002231/0.9863, allocations: 57.3 kB / 0.9682 GB, free: 85.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.9877, allocations: 2.256 MB / 0.9704 GB, free: 83.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007816/0.9885, allocations: 0.6267 MB / 0.9711 GB, free: 83.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006874/0.9892, allocations: 413.2 kB / 0.9715 GB, free: 83.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.04e-05/0.9892, allocations: 301.1 kB / 0.9717 GB, free: 82.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.9908, allocations: 1.178 MB / 0.9729 GB, free: 82.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.9927, allocations: 1.883 MB / 0.9747 GB, free: 80.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003473/0.9962, allocations: 3.368 MB / 0.978 GB, free: 78.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.9962, allocations: 5.5 kB / 0.978 GB, free: 78.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006714/1.003, allocations: 4.58 MB / 0.9825 GB, free: 75.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/1.003, allocations: 15.84 kB / 0.9825 GB, free: 75.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/1.003, allocations: 29.7 kB / 0.9825 GB, free: 75.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/1.006, allocations: 1.589 MB / 0.9841 GB, free: 75.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/1.007, allocations: 358 kB / 0.9844 GB, free: 75.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01817/1.026, allocations: 18.58 MB / 1.003 GB, free: 61.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/1.028, allocations: 122.1 kB / 1.003 GB, free: 61.47 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/1.028, allocations: 98.62 kB / 1.003 GB, free: 61.45 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002876/1.031, allocations: 1.898 MB / 1.005 GB, free: 60.29 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005917/1.031, allocations: 223 kB / 1.005 GB, free: 60.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005855/1.037, allocations: 4.097 MB / 1.009 GB, free: 56.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.037, allocations: 16 kB / 1.009 GB, free: 56.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.65e-05/1.037, allocations: 20 kB / 1.009 GB, free: 56.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/1.037, allocations: 7.969 kB / 1.009 GB, free: 56.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/1.053, allocations: 9.462 MB / 1.018 GB, free: 46.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/1.053, allocations: 4 kB / 1.018 GB, free: 46.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008138/1.053, allocations: 179.7 kB / 1.018 GB, free: 46.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/1.057, allocations: 1.361 MB / 1.02 GB, free: 44.94 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/1.057, allocations: 36 kB / 1.02 GB, free: 44.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/1.074, allocations: 17.35 MB / 1.037 GB, free: 27.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.074, allocations: 7.938 kB / 1.037 GB, free: 27.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005852/1.08, allocations: 4.07 MB / 1.041 GB, free: 22.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.081, allocations: 0.5294 MB / 1.041 GB, free: 22.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004627/1.081, allocations: 36 kB / 1.041 GB, free: 22.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/1.082, allocations: 87.89 kB / 1.041 GB, free: 22.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004221/1.083, allocations: 161.7 kB / 1.041 GB, free: 22.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.083, allocations: 48 kB / 1.041 GB, free: 21.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001218/1.084, allocations: 1.005 MB / 1.042 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.084, allocations: 0 / 1.042 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003021/1.087, allocations: 0.9883 MB / 1.043 GB, free: 19.95 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00549/1.093, allocations: 4.666 MB / 1.048 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005568/1.098, allocations: 4.307 MB / 1.052 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.098, allocations: 0 / 1.052 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003537/1.102, allocations: 2.665 MB / 1.055 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003517/1.105, allocations: 0.7741 MB / 1.055 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04464/1.15, allocations: 26.85 MB / 1.082 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007175/1.157, allocations: 3.573 MB / 1.085 GB, free: 7.875 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001704/1.159, allocations: 459.9 kB / 1.086 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002259/1.161, allocations: 1.788 MB / 1.087 GB, free: 5.633 MB / 0.7637 GB Notification: Performance of SimCode: time 7.31e-07/1.161, allocations: 0 / 1.087 GB, free: 5.633 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/1.296, allocations: 72.51 MB / 1.158 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/14.11, allocations: 1.5 kB / 1.158 GB, free: 13.82 MB / 0.8419 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)