Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001274/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001352/0.001352, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 271 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9289/0.9289, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 91.8 kB / 0.5946 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1773, allocations: 86.99 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03456/0.2118, allocations: 34.79 MB / 0.7135 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01565/0.2275, allocations: 9.898 MB / 0.7232 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003906/0.2315, allocations: 135.2 kB / 0.7233 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009084/0.2406, allocations: 3.551 MB / 0.7268 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006296/0.2469, allocations: 1.917 MB / 0.7287 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00524/0.2522, allocations: 1.788 MB / 0.7304 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01222/0.2644, allocations: 11.2 MB / 0.7413 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01647/0.2809, allocations: 10.7 MB / 0.7518 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006029/0.287, allocations: 2.872 MB / 0.7546 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006513/0.2935, allocations: 3.801 MB / 0.7583 GB, free: 124 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002025/0.2956, allocations: 464 kB / 0.7588 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004918/0.3005, allocations: 1.455 MB / 0.7602 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004539/0.3051, allocations: 2.393 MB / 0.7625 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006375/0.3115, allocations: 2.847 MB / 0.7653 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.6601/0.9716, allocations: 10.19 MB / 0.7752 GB, free: 35.82 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.9717, allocations: 0.875 kB / 0.7752 GB, free: 35.82 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9717, allocations: 0 / 0.7752 GB, free: 35.82 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0003613/0.972, allocations: 1.188 kB / 0.7753 GB, free: 35.82 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0172/0.9893, allocations: 5.407 MB / 0.7805 GB, free: 34.04 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9893, allocations: 9.906 kB / 0.7805 GB, free: 34.04 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001749/0.9911, allocations: 0.6988 MB / 0.7812 GB, free: 33.98 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005332/0.9964, allocations: 0.9592 MB / 0.7822 GB, free: 33.7 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00648/1.003, allocations: 2.996 MB / 0.7851 GB, free: 33.05 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/1.003, allocations: 358.7 kB / 0.7854 GB, free: 33.04 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/1.004, allocations: 467.9 kB / 0.7859 GB, free: 33.04 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01535/1.02, allocations: 7.907 MB / 0.7936 GB, free: 31.97 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/1.02, allocations: 15.06 kB / 0.7936 GB, free: 31.97 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000602/1.02, allocations: 216.6 kB / 0.7938 GB, free: 31.96 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005045/1.021, allocations: 371.4 kB / 0.7942 GB, free: 31.95 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/1.035, allocations: 5.934 MB / 0.8 GB, free: 31.9 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03739/1.072, allocations: 36.2 MB / 0.8353 GB, free: 21.03 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/1.075, allocations: 2.14 MB / 0.8374 GB, free: 20.23 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/1.076, allocations: 1.481 MB / 0.8389 GB, free: 19.67 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 9.245e-05/1.076, allocations: 20.64 kB / 0.8389 GB, free: 19.67 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/1.077, allocations: 55.89 kB / 0.8389 GB, free: 19.61 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=157): time 4.027e-06/1.077, allocations: 2.531 kB / 0.8389 GB, free: 19.61 MB / 0.5763 GB Notification: Performance of matching and sorting (n=160): time 0.0129/1.089, allocations: 7.535 MB / 0.8463 GB, free: 15.22 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/1.09, allocations: 68.31 kB / 0.8464 GB, free: 15.16 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/1.092, allocations: 1.862 MB / 0.8482 GB, free: 14.14 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0002474/1.092, allocations: 53.52 kB / 0.8482 GB, free: 14.09 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/1.094, allocations: 2.125 MB / 0.8503 GB, free: 12.22 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004914/1.094, allocations: 0.5617 MB / 0.8508 GB, free: 11.74 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005446/1.095, allocations: 406.5 kB / 0.8512 GB, free: 11.51 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 8.479e-05/1.095, allocations: 301.1 kB / 0.8515 GB, free: 11.21 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/1.096, allocations: 1.062 MB / 0.8526 GB, free: 10.66 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/1.098, allocations: 1.76 MB / 0.8543 GB, free: 9.18 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/1.101, allocations: 3.05 MB / 0.8573 GB, free: 7.07 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/1.101, allocations: 12 kB / 0.8573 GB, free: 7.066 MB / 0.5763 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005768/1.107, allocations: 3.915 MB / 0.8611 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/1.107, allocations: 19.05 kB / 0.8611 GB, free: 5.094 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/1.107, allocations: 23.81 kB / 0.8611 GB, free: 5.094 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/1.11, allocations: 0.9412 MB / 0.8621 GB, free: 4.59 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.111, allocations: 425.5 kB / 0.8625 GB, free: 4.512 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01803/1.129, allocations: 21.05 MB / 0.883 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/1.131, allocations: 131.8 kB / 0.8831 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.131, allocations: 92 kB / 0.8832 GB, free: 14.1 MB / 0.6075 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002401/1.134, allocations: 1.655 MB / 0.8848 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/1.134, allocations: 253.1 kB / 0.8851 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004917/1.139, allocations: 3.262 MB / 0.8883 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/1.139, allocations: 16 kB / 0.8883 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/1.139, allocations: 8 kB / 0.8883 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/1.139, allocations: 11.91 kB / 0.8883 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/1.15, allocations: 7.555 MB / 0.8957 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.15, allocations: 4 kB / 0.8957 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008704/1.151, allocations: 219.6 kB / 0.8959 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002242/1.153, allocations: 0.8874 MB / 0.8968 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/1.153, allocations: 36 kB / 0.8968 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/1.17, allocations: 21.02 MB / 0.9173 GB, free: 9.621 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/1.17, allocations: 10.44 kB / 0.9173 GB, free: 9.613 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00512/1.175, allocations: 3.377 MB / 0.9206 GB, free: 6.16 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.176, allocations: 0.5369 MB / 0.9212 GB, free: 5.602 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/1.177, allocations: 32 kB / 0.9212 GB, free: 5.57 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000952/1.178, allocations: 91.89 kB / 0.9213 GB, free: 5.48 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/1.178, allocations: 142 kB / 0.9214 GB, free: 5.348 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/1.178, allocations: 48 kB / 0.9215 GB, free: 5.301 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.001514/1.18, allocations: 1.225 MB / 0.9226 GB, free: 4.062 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.4e-07/1.18, allocations: 0 / 0.9226 GB, free: 4.062 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.002645/1.182, allocations: 0.9023 MB / 0.9235 GB, free: 3.16 MB / 0.6388 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005022/1.187, allocations: 3.992 MB / 0.9274 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005858/1.193, allocations: 4.414 MB / 0.9317 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.193, allocations: 4.062 kB / 0.9317 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003679/1.197, allocations: 3 MB / 0.9347 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/1.201, allocations: 0.7589 MB / 0.9354 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04176/1.242, allocations: 29.51 MB / 0.9642 GB, free: 7.141 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00308/1.246, allocations: 3.201 MB / 0.9674 GB, free: 3.906 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.001986/1.248, allocations: 0.5234 MB / 0.9679 GB, free: 3.379 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/1.249, allocations: 1.655 MB / 0.9695 GB, free: 1.723 MB / 0.6857 GB Notification: Performance of SimCode: time 9.72e-07/1.249, allocations: 4 kB / 0.9695 GB, free: 1.719 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09671/1.346, allocations: 69.27 MB / 1.037 GB, free: 13.47 MB / 0.7638 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/1.346, allocations: 254.3 kB / 1.037 GB, free: 13.22 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.054/4.4, allocations: 3.5 kB / 1.037 GB, free: 13.22 MB / 0.7638 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)