Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.007813/0.007813, allocations: 96.5 kB / 15.73 MB, free: 6.043 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.001947/0.001947, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002642/0.002642, allocations: 279 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 96.33 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.191, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.4086/0.5997, allocations: 26.66 MB / 0.7919 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.615, allocations: 8.071 MB / 0.7998 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003283/0.6184, allocations: 119.3 kB / 0.7999 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007813/0.6262, allocations: 2.76 MB / 0.8026 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005843/0.6321, allocations: 1.582 MB / 0.8042 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006487/0.6386, allocations: 1.677 MB / 0.8058 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01152/0.6501, allocations: 6.142 MB / 0.8118 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01283/0.663, allocations: 7.307 MB / 0.819 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005807/0.6688, allocations: 2.578 MB / 0.8215 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00574/0.6746, allocations: 2.829 MB / 0.8242 GB, free: 244 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001926/0.6765, allocations: 0.5124 MB / 0.8247 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004535/0.6811, allocations: 1.284 MB / 0.826 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004156/0.6853, allocations: 2.045 MB / 0.828 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006017/0.6913, allocations: 2.39 MB / 0.8303 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01274/0.7041, allocations: 8.078 MB / 0.8382 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7041, allocations: 3.938 kB / 0.8382 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7041, allocations: 1.5 kB / 0.8382 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003102/0.7044, allocations: 0 / 0.8382 GB, free: 7.25 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01523/0.7197, allocations: 4.331 MB / 0.8424 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.7198, allocations: 12.61 kB / 0.8425 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002511/0.7223, allocations: 0.5366 MB / 0.843 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006401/0.7287, allocations: 0.8197 MB / 0.8438 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007112/0.7359, allocations: 2.586 MB / 0.8463 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003366/0.7362, allocations: 275.6 kB / 0.8466 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001865/0.7381, allocations: 376.4 kB / 0.8469 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/0.7546, allocations: 5.996 MB / 0.8528 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002332/0.7549, allocations: 19.83 kB / 0.8528 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001565/0.7564, allocations: 160 kB / 0.853 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007273/0.7572, allocations: 278.9 kB / 0.8532 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/0.7689, allocations: 4.528 MB / 0.8576 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03793/0.8069, allocations: 27.51 MB / 0.8845 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.8088, allocations: 1.112 MB / 0.8856 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.8104, allocations: 1.015 MB / 0.8866 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.488e-05/0.8105, allocations: 9 kB / 0.8866 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.8105, allocations: 51.56 kB / 0.8866 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 2.775e-06/0.8105, allocations: 0 / 0.8866 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.02279/0.8333, allocations: 9.731 MB / 0.8961 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.8334, allocations: 64.72 kB / 0.8962 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.8357, allocations: 1.494 MB / 0.8977 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.8358, allocations: 53.7 kB / 0.8977 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.8371, allocations: 1.715 MB / 0.8994 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004765/0.8376, allocations: 491.8 kB / 0.8999 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005476/0.8382, allocations: 331.4 kB / 0.9002 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8383, allocations: 305.1 kB / 0.9005 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.8397, allocations: 0.9174 MB / 0.9014 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/0.8416, allocations: 1.463 MB / 0.9028 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/0.8451, allocations: 2.55 MB / 0.9053 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.8451, allocations: 8 kB / 0.9053 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006139/0.8512, allocations: 3.294 MB / 0.9085 GB, free: 14.35 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.8513, allocations: 12 kB / 0.9085 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.8513, allocations: 20 kB / 0.9085 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/0.8536, allocations: 0.7417 MB / 0.9093 GB, free: 13.55 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.8552, allocations: 383.4 kB / 0.9096 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01753/0.8728, allocations: 17.06 MB / 0.9263 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.8745, allocations: 95.91 kB / 0.9264 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.8747, allocations: 75.98 kB / 0.9264 GB, free: 10.68 MB / 0.6856 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002359/0.8771, allocations: 1.32 MB / 0.9277 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/0.8775, allocations: 214.6 kB / 0.9279 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005308/0.8828, allocations: 2.784 MB / 0.9307 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.8828, allocations: 12 kB / 0.9307 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.8829, allocations: 8 kB / 0.9307 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.8829, allocations: 3.984 kB / 0.9307 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.8947, allocations: 6.225 MB / 0.9368 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.8947, allocations: 4.188 kB / 0.9368 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.8959, allocations: 239.6 kB / 0.937 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/0.898, allocations: 0.675 MB / 0.9377 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.8981, allocations: 32 kB / 0.9377 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01875/0.9169, allocations: 16.79 MB / 0.9541 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.9169, allocations: 4 kB / 0.9541 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007149/0.9241, allocations: 4.013 MB / 0.958 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.9253, allocations: 467.6 kB / 0.9584 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/0.9255, allocations: 35.94 kB / 0.9585 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009634/0.9265, allocations: 84.02 kB / 0.9586 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/0.9269, allocations: 116.7 kB / 0.9587 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.405e-05/0.927, allocations: 43.98 kB / 0.9587 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001441/0.9284, allocations: 0.9942 MB / 0.9597 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9284, allocations: 0 / 0.9597 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002692/0.9311, allocations: 0.6875 MB / 0.9604 GB, free: 6.336 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007022/0.9381, allocations: 4.606 MB / 0.9649 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005638/0.9438, allocations: 3.53 MB / 0.9683 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.9438, allocations: 0 / 0.9683 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003596/0.9474, allocations: 2.307 MB / 0.9706 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/0.9506, allocations: 0.675 MB / 0.9712 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03736/0.988, allocations: 21.26 MB / 0.992 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00306/0.9911, allocations: 2.664 MB / 0.9946 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00154/0.9926, allocations: 489.4 kB / 0.995 GB, free: 1.586 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001572/0.9942, allocations: 1.284 MB / 0.9963 GB, free: 308 kB / 0.7481 GB Notification: Performance of SimCode: time 2.835e-06/0.9942, allocations: 0 / 0.9963 GB, free: 308 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/1.125, allocations: 57.24 MB / 1.052 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.14, allocations: 10.64 kB / 1.052 GB, free: 7.805 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)