Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009399/0.0009398, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008011/0.008011, allocations: 170 kB / 16.27 MB, free: 6.66 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.313/1.313, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 270.1 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9298/0.9298, allocations: 169.5 MB / 0.5004 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004618, allocations: 19.27 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1704, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02274/0.1932, allocations: 22.56 MB / 0.7073 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01084/0.2041, allocations: 6.445 MB / 0.7136 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.2063, allocations: 75.56 kB / 0.7136 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.2075, allocations: 472.5 kB / 0.7141 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.2115, allocations: 1.743 MB / 0.7158 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.2144, allocations: 1.194 MB / 0.717 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009929/0.2243, allocations: 10.62 MB / 0.7273 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01112/0.2354, allocations: 8.056 MB / 0.7352 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004096/0.2396, allocations: 2.085 MB / 0.7372 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005446/0.245, allocations: 3.193 MB / 0.7403 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.2461, allocations: 244 kB / 0.7406 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/0.2496, allocations: 1.061 MB / 0.7416 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003775/0.2534, allocations: 2.108 MB / 0.7437 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.005006/0.2585, allocations: 2.128 MB / 0.7458 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009459/0.2679, allocations: 8.13 MB / 0.7537 GB, free: 8.613 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.268, allocations: 0 / 0.7537 GB, free: 8.613 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.268, allocations: 0 / 0.7537 GB, free: 8.613 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002342/0.2682, allocations: 4 kB / 0.7537 GB, free: 8.609 MB / 0.545 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.007229/0.2755, allocations: 3.566 MB / 0.7572 GB, free: 4.977 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.2755, allocations: 16.02 kB / 0.7572 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001063/0.2766, allocations: 0.5675 MB / 0.7577 GB, free: 4.383 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008238/0.2848, allocations: 1.689 MB / 0.7594 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004589/0.2895, allocations: 2.567 MB / 0.7619 GB, free: 68 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3717/0.6612, allocations: 275.5 kB / 0.7622 GB, free: 71.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002093/0.6633, allocations: 360.5 kB / 0.7625 GB, free: 71.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/0.6789, allocations: 7.485 MB / 0.7698 GB, free: 69.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.6791, allocations: 15.61 kB / 0.7698 GB, free: 69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004333/0.6795, allocations: 159.1 kB / 0.77 GB, free: 68.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005865/0.6801, allocations: 485.3 kB / 0.7704 GB, free: 68.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.6906, allocations: 5.696 MB / 0.776 GB, free: 66.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03027/0.7209, allocations: 31.69 MB / 0.807 GB, free: 40.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002695/0.7236, allocations: 2.091 MB / 0.809 GB, free: 39.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002725/0.7264, allocations: 2.175 MB / 0.8111 GB, free: 37.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.7265, allocations: 13.16 kB / 0.8111 GB, free: 37.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.7265, allocations: 47.81 kB / 0.8112 GB, free: 37.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=146): time 3.737e-06/0.7265, allocations: 3.906 kB / 0.8112 GB, free: 37.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=251): time 0.2883/1.015, allocations: 75.27 MB / 0.8847 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/1.015, allocations: 81.34 kB / 0.8848 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/1.017, allocations: 1.67 MB / 0.8864 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000425/1.018, allocations: 65.7 kB / 0.8865 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/1.019, allocations: 1.746 MB / 0.8882 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009813/1.02, allocations: 0.8503 MB / 0.889 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005059/1.02, allocations: 203 kB / 0.8892 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.487e-05/1.02, allocations: 305.1 kB / 0.8895 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003822/1.024, allocations: 2.738 MB / 0.8922 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004271/1.029, allocations: 3.328 MB / 0.8954 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008299/1.037, allocations: 6.393 MB / 0.9016 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/1.037, allocations: 4 kB / 0.9017 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03196/1.069, allocations: 14.69 MB / 0.916 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/1.069, allocations: 16.59 kB / 0.916 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/1.069, allocations: 20.84 kB / 0.916 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02887/1.098, allocations: 9.234 MB / 0.9251 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.099, allocations: 299.4 kB / 0.9253 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07498/1.174, allocations: 47.14 MB / 0.9714 GB, free: 3.668 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/1.177, allocations: 231.6 kB / 0.9716 GB, free: 3.441 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003796/1.177, allocations: 100 kB / 0.9717 GB, free: 3.344 MB / 0.67 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.002777/1.18, allocations: 1.588 MB / 0.9732 GB, free: 1.746 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005555/1.181, allocations: 241.1 kB / 0.9735 GB, free: 1.508 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03293/1.214, allocations: 14.76 MB / 0.9879 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/1.214, allocations: 27.94 kB / 0.9879 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001649/1.214, allocations: 51.94 kB / 0.988 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.85e-05/1.214, allocations: 11.95 kB / 0.988 GB, free: 2.605 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0426/1.257, allocations: 20.51 MB / 1.008 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-05/1.257, allocations: 8 kB / 1.008 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007647/1.257, allocations: 159.8 kB / 1.008 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02888/1.286, allocations: 9.004 MB / 1.017 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004076/1.287, allocations: 48 kB / 1.017 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4397/1.727, allocations: 46.74 MB / 1.063 GB, free: 234.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.728e-06/1.727, allocations: 11.66 kB / 1.063 GB, free: 234.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02912/1.756, allocations: 14.37 MB / 1.077 GB, free: 230.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/1.757, allocations: 0.8432 MB / 1.078 GB, free: 229.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003944/1.758, allocations: 50.47 kB / 1.078 GB, free: 229.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/1.76, allocations: 208.5 kB / 1.078 GB, free: 229.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001267/1.761, allocations: 242.4 kB / 1.078 GB, free: 229.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/1.761, allocations: 65.94 kB / 1.078 GB, free: 229.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001194/1.762, allocations: 1.128 MB / 1.079 GB, free: 229.4 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/1.762, allocations: 0 / 1.079 GB, free: 229.4 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003661/1.766, allocations: 1.613 MB / 1.081 GB, free: 229.2 MB / 0.7325 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.02761/1.794, allocations: 14.98 MB / 1.095 GB, free: 219.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01986/1.814, allocations: 10.36 MB / 1.105 GB, free: 209.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.814, allocations: 0 / 1.105 GB, free: 209.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01565/1.829, allocations: 7.162 MB / 1.112 GB, free: 202.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004885/1.834, allocations: 0.5251 MB / 1.113 GB, free: 201.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08803/1.922, allocations: 55.13 MB / 1.167 GB, free: 144.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/1.926, allocations: 3.227 MB / 1.17 GB, free: 141.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001077/1.927, allocations: 391.3 kB / 1.17 GB, free: 140.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/1.929, allocations: 1.464 MB / 1.172 GB, free: 139.3 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/1.929, allocations: 4 kB / 1.172 GB, free: 139.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/2.07, allocations: 113.3 MB / 1.282 GB, free: 26.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/2.07, allocations: 266.8 kB / 1.283 GB, free: 26.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/5.51, allocations: 0 / 1.283 GB, free: 26.17 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)