Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.001056/0.001056, allocations: 108 kB / 15.6 MB, free: 132 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.001849/0.001849, allocations: 191.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002182/0.002182, allocations: 291 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9525/0.9525, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 97.61 kB / 0.5954 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1494, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0121/0.1616, allocations: 10.07 MB / 0.6901 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005179/0.1668, allocations: 3.172 MB / 0.6932 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007614/0.1676, allocations: 39.81 kB / 0.6933 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.1693, allocations: 0.5867 MB / 0.6938 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.1709, allocations: 0.7466 MB / 0.6946 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1724, allocations: 0.7362 MB / 0.6953 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002968/0.1754, allocations: 3.004 MB / 0.6982 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002994/0.1784, allocations: 2.602 MB / 0.7008 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.1801, allocations: 1.25 MB / 0.702 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.1824, allocations: 1.554 MB / 0.7035 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006224/0.183, allocations: 236 kB / 0.7037 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.1844, allocations: 0.5032 MB / 0.7042 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.1857, allocations: 1.076 MB / 0.7053 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.1875, allocations: 1.113 MB / 0.7064 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003861/0.1914, allocations: 3.669 MB / 0.7099 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1914, allocations: 0 / 0.7099 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1914, allocations: 0 / 0.7099 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000112/0.1915, allocations: 4 kB / 0.7099 GB, free: 2.121 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005155/0.1967, allocations: 2.132 MB / 0.712 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1967, allocations: 16.03 kB / 0.712 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006059/0.1974, allocations: 265.1 kB / 0.7123 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009409/0.2068, allocations: 1.313 MB / 0.7136 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.2091, allocations: 1.247 MB / 0.7148 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-05/0.2092, allocations: 111.4 kB / 0.7149 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004698/0.2097, allocations: 152.3 kB / 0.715 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005725/0.2154, allocations: 3.441 MB / 0.7184 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.205e-05/0.2154, allocations: 7.938 kB / 0.7184 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002736/0.2157, allocations: 71.91 kB / 0.7185 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002422/0.216, allocations: 203.1 kB / 0.7187 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005171/0.2212, allocations: 3.124 MB / 0.7217 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01829/0.2395, allocations: 13.62 MB / 0.735 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/0.242, allocations: 1.732 MB / 0.7367 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/0.244, allocations: 1.433 MB / 0.7381 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.055e-05/0.2441, allocations: 13 kB / 0.7381 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.2441, allocations: 55.48 kB / 0.7382 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 2.965e-06/0.2441, allocations: 0 / 0.7382 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.4497/0.6938, allocations: 36.65 MB / 0.774 GB, free: 88.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.6939, allocations: 71.45 kB / 0.774 GB, free: 88.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.6955, allocations: 1.052 MB / 0.7751 GB, free: 88.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003232/0.6958, allocations: 58.64 kB / 0.7751 GB, free: 88.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.6963, allocations: 0.7958 MB / 0.7759 GB, free: 88.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000487/0.6967, allocations: 0.6216 MB / 0.7765 GB, free: 87.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007288/0.6975, allocations: 360.7 kB / 0.7769 GB, free: 87.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.6975, allocations: 305.3 kB / 0.7771 GB, free: 87.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/0.7002, allocations: 1.927 MB / 0.779 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002831/0.703, allocations: 2.296 MB / 0.7813 GB, free: 85.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005094/0.7081, allocations: 4.385 MB / 0.7856 GB, free: 84.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.7082, allocations: 5.062 kB / 0.7856 GB, free: 84.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01902/0.7272, allocations: 9.017 MB / 0.7944 GB, free: 81.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.7272, allocations: 11.56 kB / 0.7944 GB, free: 81.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.7273, allocations: 12.12 kB / 0.7944 GB, free: 81.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01653/0.7438, allocations: 5.014 MB / 0.7993 GB, free: 80.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008819/0.7447, allocations: 191.5 kB / 0.7995 GB, free: 80.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04664/0.7914, allocations: 38.92 MB / 0.8375 GB, free: 49.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.7933, allocations: 103 kB / 0.8376 GB, free: 49.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/0.7936, allocations: 68 kB / 0.8376 GB, free: 49.39 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001122/0.7947, allocations: 0.8095 MB / 0.8384 GB, free: 48.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003268/0.7951, allocations: 146.3 kB / 0.8386 GB, free: 48.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/0.8122, allocations: 8.886 MB / 0.8472 GB, free: 39.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.8122, allocations: 20.8 kB / 0.8473 GB, free: 39.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-05/0.8123, allocations: 29.5 kB / 0.8473 GB, free: 39.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.8123, allocations: 7.969 kB / 0.8473 GB, free: 39.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02264/0.8349, allocations: 13.31 MB / 0.8603 GB, free: 26.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.835, allocations: 0 / 0.8603 GB, free: 26.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.8354, allocations: 123.8 kB / 0.8604 GB, free: 25.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01495/0.8504, allocations: 4.789 MB / 0.8651 GB, free: 21.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002199/0.8506, allocations: 36 kB / 0.8651 GB, free: 21.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04645/0.8971, allocations: 34.85 MB / 0.8992 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.8971, allocations: 4.891 kB / 0.8992 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/0.9167, allocations: 8.4 MB / 0.9074 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001323/0.918, allocations: 0.6124 MB / 0.908 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004618/0.9185, allocations: 47.83 kB / 0.908 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/0.92, allocations: 91.89 kB / 0.9081 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007633/0.9208, allocations: 163.8 kB / 0.9082 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.921, allocations: 51.94 kB / 0.9083 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009621/0.9219, allocations: 0.7382 MB / 0.909 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9219, allocations: 3.656 kB / 0.909 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003042/0.925, allocations: 1.004 MB / 0.91 GB, free: 6.465 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01949/0.9445, allocations: 8.994 MB / 0.9188 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01121/0.9557, allocations: 6.697 MB / 0.9253 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.9558, allocations: 8.062 kB / 0.9253 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007991/0.9638, allocations: 3.829 MB / 0.9291 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.9655, allocations: 243.4 kB / 0.9293 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05982/1.025, allocations: 31.7 MB / 0.9603 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/1.027, allocations: 1.858 MB / 0.9621 GB, free: 84 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008993/1.028, allocations: 357.5 kB / 0.9624 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007283/1.029, allocations: 0.6086 MB / 0.963 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of SimCode: time 7.02e-07/1.029, allocations: 3.938 kB / 0.963 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/1.166, allocations: 74.18 MB / 1.035 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.68, allocations: 10.06 kB / 1.035 GB, free: 5.336 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)