Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.007782/0.007782, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002018/0.002018, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002488/0.002488, allocations: 289.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 100.4 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4576, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04424/0.5019, allocations: 37.94 MB / 0.803 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02111/0.523, allocations: 10.98 MB / 0.8137 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005056/0.5281, allocations: 155.2 kB / 0.8138 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01184/0.54, allocations: 4.356 MB / 0.8181 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00605/0.546, allocations: 2.219 MB / 0.8203 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005033/0.5511, allocations: 2.175 MB / 0.8224 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01107/0.5622, allocations: 9.28 MB / 0.8315 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01455/0.5768, allocations: 11.27 MB / 0.8425 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007523/0.5843, allocations: 4 MB / 0.8464 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007663/0.592, allocations: 4.502 MB / 0.8508 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002251/0.5943, allocations: 0.8242 MB / 0.8516 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004138/0.5985, allocations: 1.592 MB / 0.8531 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004089/0.6026, allocations: 3.15 MB / 0.8562 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006066/0.6086, allocations: 3.653 MB / 0.8598 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01461/0.6233, allocations: 12.34 MB / 0.8718 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.6233, allocations: 0 / 0.8718 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6233, allocations: 4 kB / 0.8718 GB, free: 7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002728/0.6236, allocations: 4 kB / 0.8718 GB, free: 6.996 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01478/0.6384, allocations: 6.467 MB / 0.8781 GB, free: 460 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6384, allocations: 8.031 kB / 0.8782 GB, free: 452 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001506/0.64, allocations: 0.8294 MB / 0.879 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00504/0.645, allocations: 1.102 MB / 0.88 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006675/0.6517, allocations: 3.628 MB / 0.8836 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.6521, allocations: 435.7 kB / 0.884 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/0.6531, allocations: 0.5394 MB / 0.8845 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/0.6696, allocations: 9.373 MB / 0.8937 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.6698, allocations: 23.77 kB / 0.8937 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006423/0.6704, allocations: 251.9 kB / 0.8939 GB, free: 15.88 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005925/0.671, allocations: 426.9 kB / 0.8943 GB, free: 15.46 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.6843, allocations: 7.12 MB / 0.9013 GB, free: 8.328 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04608/0.7304, allocations: 41.06 MB / 0.9414 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00462/0.7351, allocations: 3.102 MB / 0.9444 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00296/0.7381, allocations: 2.155 MB / 0.9465 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.7382, allocations: 22 kB / 0.9466 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/0.7382, allocations: 68.42 kB / 0.9466 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 3.737e-06/0.7382, allocations: 0 / 0.9466 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.02302/0.7613, allocations: 10.64 MB / 0.957 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.7614, allocations: 77.34 kB / 0.9571 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.7642, allocations: 1.998 MB / 0.959 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/0.7644, allocations: 65.7 kB / 0.9591 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001736/0.7661, allocations: 2.474 MB / 0.9615 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007274/0.7669, allocations: 0.7746 MB / 0.9623 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007295/0.7676, allocations: 485.5 kB / 0.9627 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7677, allocations: 305.1 kB / 0.963 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/0.7697, allocations: 1.376 MB / 0.9644 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002599/0.7723, allocations: 2.108 MB / 0.9664 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3264/1.099, allocations: 3.76 MB / 0.9701 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/1.099, allocations: 6.375 kB / 0.9701 GB, free: 180.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008068/1.107, allocations: 5.081 MB / 0.9751 GB, free: 178.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/1.107, allocations: 17.47 kB / 0.9751 GB, free: 178.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/1.107, allocations: 23.38 kB / 0.9751 GB, free: 178.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003337/1.11, allocations: 1.581 MB / 0.9766 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/1.112, allocations: 460.7 kB / 0.9771 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/1.13, allocations: 18.58 MB / 0.9952 GB, free: 167.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/1.132, allocations: 141.6 kB / 0.9954 GB, free: 167.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/1.132, allocations: 113.3 kB / 0.9955 GB, free: 167 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002338/1.134, allocations: 1.938 MB / 0.9974 GB, free: 166.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004516/1.135, allocations: 304.7 kB / 0.9977 GB, free: 166.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005566/1.141, allocations: 4.449 MB / 1.002 GB, free: 164.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/1.141, allocations: 20.88 kB / 1.002 GB, free: 164.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/1.141, allocations: 20 kB / 1.002 GB, free: 164.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/1.141, allocations: 7.969 kB / 1.002 GB, free: 164.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/1.154, allocations: 9.66 MB / 1.011 GB, free: 154.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/1.154, allocations: 12.08 kB / 1.011 GB, free: 154.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008784/1.155, allocations: 239.6 kB / 1.012 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/1.157, allocations: 1.423 MB / 1.013 GB, free: 152.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/1.157, allocations: 47.94 kB / 1.013 GB, free: 152.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/1.174, allocations: 18.58 MB / 1.031 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.174, allocations: 4 kB / 1.031 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005673/1.179, allocations: 4.561 MB / 1.036 GB, free: 129.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.181, allocations: 0.6574 MB / 1.036 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/1.181, allocations: 43.94 kB / 1.036 GB, free: 128.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/1.182, allocations: 115.9 kB / 1.037 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004388/1.183, allocations: 177.6 kB / 1.037 GB, free: 128 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.183, allocations: 60 kB / 1.037 GB, free: 128 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001378/1.184, allocations: 1.315 MB / 1.038 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.184, allocations: 0 / 1.038 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003293/1.187, allocations: 1.147 MB / 1.039 GB, free: 125.5 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005416/1.193, allocations: 5.167 MB / 1.044 GB, free: 120.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005898/1.199, allocations: 4.726 MB / 1.049 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.199, allocations: 4 kB / 1.049 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003619/1.202, allocations: 2.936 MB / 1.052 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/1.206, allocations: 0.8972 MB / 1.053 GB, free: 111.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03595/1.242, allocations: 30.54 MB / 1.082 GB, free: 79.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003054/1.245, allocations: 3.702 MB / 1.086 GB, free: 76.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001602/1.247, allocations: 0.5595 MB / 1.087 GB, free: 75.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.248, allocations: 1.944 MB / 1.088 GB, free: 73.7 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/1.249, allocations: 0 / 1.088 GB, free: 73.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1726/1.421, allocations: 85.3 MB / 1.172 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.19/16.61, allocations: 14.11 kB / 1.172 GB, free: 5.41 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)