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.001193/0.001193, allocations: 108 kB / 15.61 MB, free: 152 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.001218/0.001218, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.211/1.211, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.586/1.586, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001486/0.001486, allocations: 67.66 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1784, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03482/0.2133, allocations: 34.69 MB / 0.8174 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01632/0.2296, allocations: 11.63 MB / 0.8287 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/0.232, allocations: 163.2 kB / 0.8289 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009134/0.2412, allocations: 4.245 MB / 0.833 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004543/0.2457, allocations: 1.986 MB / 0.835 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005044/0.2508, allocations: 2.412 MB / 0.8373 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007954/0.2587, allocations: 8.456 MB / 0.8456 GB, free: 13.6 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01288/0.2716, allocations: 11.21 MB / 0.8565 GB, free: 2.273 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004933/0.2766, allocations: 3.728 MB / 0.8602 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005373/0.282, allocations: 4.186 MB / 0.8642 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001722/0.2837, allocations: 0.7773 MB / 0.865 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004181/0.2879, allocations: 2.024 MB / 0.867 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003481/0.2914, allocations: 3.057 MB / 0.87 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004544/0.296, allocations: 3.4 MB / 0.8733 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00973/0.3057, allocations: 11.92 MB / 0.8849 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3057, allocations: 0 / 0.8849 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3057, allocations: 0 / 0.8849 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001907/0.3059, allocations: 0 / 0.8849 GB, free: 5.105 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.009935/0.3159, allocations: 5.799 MB / 0.8906 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3159, allocations: 12.03 kB / 0.8906 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001071/0.317, allocations: 0.8012 MB / 0.8914 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005188/0.3222, allocations: 1.056 MB / 0.8924 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/0.3276, allocations: 3.262 MB / 0.8956 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.3279, allocations: 411.5 kB / 0.896 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009693/0.3289, allocations: 0.5393 MB / 0.8965 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.3428, allocations: 9.083 MB / 0.9054 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.343, allocations: 31.69 kB / 0.9054 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005051/0.3435, allocations: 228 kB / 0.9056 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003015/0.3438, allocations: 350.8 kB / 0.906 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009478/0.3533, allocations: 6.83 MB / 0.9126 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3354/0.6887, allocations: 40.11 MB / 0.9518 GB, free: 93.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003551/0.6923, allocations: 3.11 MB / 0.9549 GB, free: 91.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/0.6946, allocations: 1.968 MB / 0.9568 GB, free: 90.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.983e-05/0.6947, allocations: 18.78 kB / 0.9568 GB, free: 90.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.6947, allocations: 56.09 kB / 0.9568 GB, free: 90.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 4.469e-06/0.6947, allocations: 0 / 0.9568 GB, free: 90.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02265/0.7174, allocations: 9.989 MB / 0.9666 GB, free: 86.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.7174, allocations: 71.25 kB / 0.9667 GB, free: 86.92 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.7191, allocations: 1.532 MB / 0.9682 GB, free: 86.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.597e-05/0.7192, allocations: 51.73 kB / 0.9682 GB, free: 86.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008202/0.72, allocations: 2.251 MB / 0.9704 GB, free: 84.19 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/0.7204, allocations: 0.6277 MB / 0.971 GB, free: 83.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005157/0.7209, allocations: 412.9 kB / 0.9714 GB, free: 83.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.7209, allocations: 306.3 kB / 0.9717 GB, free: 83.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.7223, allocations: 1.174 MB / 0.9729 GB, free: 82.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.7239, allocations: 1.887 MB / 0.9747 GB, free: 80.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/0.7271, allocations: 3.364 MB / 0.978 GB, free: 78.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.7271, allocations: 8.031 kB / 0.978 GB, free: 78.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005947/0.733, allocations: 4.58 MB / 0.9825 GB, free: 76.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.7331, allocations: 15.69 kB / 0.9825 GB, free: 76.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.7331, allocations: 23.62 kB / 0.9825 GB, free: 76.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/0.736, allocations: 1.601 MB / 0.9841 GB, free: 75.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/0.737, allocations: 354.4 kB / 0.9844 GB, free: 75.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/0.7531, allocations: 18.6 MB / 1.003 GB, free: 61.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.7544, allocations: 116.4 kB / 1.003 GB, free: 61.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.7545, allocations: 95.72 kB / 1.003 GB, free: 61.77 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.002132/0.7566, allocations: 1.906 MB / 1.005 GB, free: 60.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.7569, allocations: 227.1 kB / 1.005 GB, free: 60.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005019/0.7619, allocations: 4.094 MB / 1.009 GB, free: 56.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.7619, allocations: 16 kB / 1.009 GB, free: 56.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.7619, allocations: 20 kB / 1.009 GB, free: 56.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.7619, allocations: 7.969 kB / 1.009 GB, free: 56.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.7722, allocations: 9.455 MB / 1.018 GB, free: 46.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.7723, allocations: 4 kB / 1.018 GB, free: 46.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006748/0.7729, allocations: 191.8 kB / 1.018 GB, free: 46.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002689/0.7756, allocations: 1.369 MB / 1.02 GB, free: 45.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-05/0.7757, allocations: 40 kB / 1.02 GB, free: 45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/0.7904, allocations: 17.36 MB / 1.037 GB, free: 27.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.7904, allocations: 11.94 kB / 1.037 GB, free: 27.08 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004871/0.7953, allocations: 4.065 MB / 1.041 GB, free: 22.92 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006951/0.796, allocations: 0.5296 MB / 1.041 GB, free: 22.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.7962, allocations: 39.92 kB / 1.041 GB, free: 22.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000809/0.797, allocations: 83.91 kB / 1.041 GB, free: 22.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.7973, allocations: 165.7 kB / 1.041 GB, free: 22.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/0.7974, allocations: 47.98 kB / 1.041 GB, free: 22.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009253/0.7984, allocations: 1.005 MB / 1.042 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.052e-06/0.7984, allocations: 0 / 1.042 GB, free: 21.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002398/0.8008, allocations: 0.99 MB / 1.043 GB, free: 20.02 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.004873/0.8057, allocations: 4.667 MB / 1.048 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006222/0.8119, allocations: 5.193 MB / 1.053 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.8119, allocations: 1 kB / 1.053 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003055/0.815, allocations: 2.664 MB / 1.056 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/0.8178, allocations: 0.7872 MB / 1.056 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03536/0.8531, allocations: 28.65 MB / 1.084 GB, free: 7.926 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003309/0.8565, allocations: 3.576 MB / 1.088 GB, free: 4.312 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001222/0.8577, allocations: 467.9 kB / 1.088 GB, free: 3.852 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/0.8594, allocations: 1.788 MB / 1.09 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of SimCode: time 8.02e-07/0.8594, allocations: 0 / 1.09 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.568/6.427, allocations: 72.46 MB / 1.161 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/20.49, allocations: 16.58 kB / 1.161 GB, free: 10.27 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)