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.00135/0.00135, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001387/0.001387, allocations: 191.6 kB / 16.13 MB, free: 6.668 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.295/1.295, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 279.2 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9254/0.9254, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 94.36 kB / 0.5946 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1554, allocations: 86.98 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03601/0.1915, allocations: 37.59 MB / 0.7163 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01746/0.209, allocations: 10.95 MB / 0.727 GB, free: 404 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004861/0.2139, allocations: 147.2 kB / 0.7271 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01058/0.2245, allocations: 4.057 MB / 0.7311 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007187/0.2317, allocations: 2.096 MB / 0.7331 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005738/0.2375, allocations: 1.97 MB / 0.735 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01355/0.251, allocations: 13.2 MB / 0.7479 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02116/0.2722, allocations: 12.43 MB / 0.7601 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006849/0.2791, allocations: 3.406 MB / 0.7634 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008629/0.2878, allocations: 4.592 MB / 0.7679 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003157/0.291, allocations: 0.5663 MB / 0.7684 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005014/0.296, allocations: 1.552 MB / 0.7699 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004889/0.3009, allocations: 2.884 MB / 0.7728 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.5797/0.8807, allocations: 3.357 MB / 0.776 GB, free: 31.81 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.8932, allocations: 12.08 MB / 0.7878 GB, free: 31.52 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8933, allocations: 0 / 0.7878 GB, free: 31.52 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.522e-06/0.8933, allocations: 0 / 0.7878 GB, free: 31.52 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0003132/0.8936, allocations: 2.438 kB / 0.7878 GB, free: 31.52 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01459/0.9082, allocations: 6.312 MB / 0.794 GB, free: 29.34 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.9083, allocations: 10.81 kB / 0.794 GB, free: 29.33 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001241/0.9095, allocations: 0.8252 MB / 0.7948 GB, free: 29.26 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004779/0.9143, allocations: 1.065 MB / 0.7959 GB, free: 28.94 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/0.9202, allocations: 3.425 MB / 0.7992 GB, free: 28.23 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/0.9205, allocations: 425.7 kB / 0.7996 GB, free: 28.22 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/0.9218, allocations: 0.5424 MB / 0.8001 GB, free: 28.22 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/0.9411, allocations: 9.386 MB / 0.8093 GB, free: 27.15 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.9412, allocations: 17.45 kB / 0.8093 GB, free: 27.15 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006456/0.9419, allocations: 246.9 kB / 0.8096 GB, free: 27.15 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005366/0.9424, allocations: 420.4 kB / 0.81 GB, free: 27.14 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.9541, allocations: 7.124 MB / 0.8169 GB, free: 26.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03902/0.9931, allocations: 41.32 MB / 0.8573 GB, free: 5.449 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004342/0.9975, allocations: 3.104 MB / 0.8603 GB, free: 3.863 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/1, allocations: 2.139 MB / 0.8624 GB, free: 2.766 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/1, allocations: 21.5 kB / 0.8624 GB, free: 2.766 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/1.001, allocations: 60.28 kB / 0.8625 GB, free: 2.707 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=209): time 3.707e-06/1.001, allocations: 0 / 0.8625 GB, free: 2.707 MB / 0.5763 GB Notification: Performance of matching and sorting (n=212): time 0.02489/1.025, allocations: 10.55 MB / 0.8728 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/1.026, allocations: 77.34 kB / 0.8728 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/1.03, allocations: 2.002 MB / 0.8748 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004347/1.03, allocations: 65.7 kB / 0.8749 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001858/1.032, allocations: 2.408 MB / 0.8772 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.033, allocations: 0.7314 MB / 0.8779 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/1.034, allocations: 481.2 kB / 0.8784 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001005/1.034, allocations: 301.1 kB / 0.8787 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002278/1.037, allocations: 1.372 MB / 0.88 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/1.039, allocations: 2.104 MB / 0.8821 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005143/1.045, allocations: 3.771 MB / 0.8857 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/1.045, allocations: 8 kB / 0.8858 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009333/1.054, allocations: 5.067 MB / 0.8907 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/1.054, allocations: 12 kB / 0.8907 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.914e-05/1.054, allocations: 24 kB / 0.8907 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004011/1.058, allocations: 1.582 MB / 0.8923 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/1.06, allocations: 453.5 kB / 0.8927 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/1.082, allocations: 17.06 MB / 0.9094 GB, free: 5.82 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/1.084, allocations: 143.9 kB / 0.9095 GB, free: 5.68 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006929/1.085, allocations: 116 kB / 0.9096 GB, free: 5.566 MB / 0.6232 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.004644/1.09, allocations: 1.947 MB / 0.9115 GB, free: 3.645 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.091, allocations: 292.8 kB / 0.9118 GB, free: 3.355 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008122/1.099, allocations: 4.446 MB / 0.9161 GB, free: 14.94 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/1.099, allocations: 28 kB / 0.9162 GB, free: 14.91 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.256e-05/1.099, allocations: 16 kB / 0.9162 GB, free: 14.89 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.581e-05/1.099, allocations: 11.95 kB / 0.9162 GB, free: 14.88 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0189/1.118, allocations: 9.673 MB / 0.9256 GB, free: 5.199 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/1.118, allocations: 4 kB / 0.9256 GB, free: 5.195 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.119, allocations: 237.4 kB / 0.9259 GB, free: 4.977 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003446/1.122, allocations: 1.43 MB / 0.9273 GB, free: 3.535 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002018/1.123, allocations: 40 kB / 0.9273 GB, free: 3.496 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02165/1.144, allocations: 17.06 MB / 0.944 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/1.144, allocations: 11.75 kB / 0.944 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008346/1.153, allocations: 4.54 MB / 0.9484 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/1.154, allocations: 0.6304 MB / 0.949 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007853/1.155, allocations: 43.98 kB / 0.9491 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.157, allocations: 115.9 kB / 0.9492 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005529/1.157, allocations: 184.9 kB / 0.9494 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/1.158, allocations: 59.94 kB / 0.9494 GB, free: 12.33 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002259/1.16, allocations: 1.315 MB / 0.9507 GB, free: 11 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/1.16, allocations: 0 / 0.9507 GB, free: 11 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003922/1.164, allocations: 1.137 MB / 0.9518 GB, free: 9.867 MB / 0.67 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.007575/1.171, allocations: 5.164 MB / 0.9568 GB, free: 4.684 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007494/1.179, allocations: 4.69 MB / 0.9614 GB, free: 28 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.179, allocations: 4 kB / 0.9614 GB, free: 24 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00449/1.183, allocations: 2.92 MB / 0.9643 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004524/1.188, allocations: 0.8322 MB / 0.9651 GB, free: 12.27 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06204/1.25, allocations: 35.94 MB / 1 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00633/1.256, allocations: 3.686 MB / 1.004 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002368/1.259, allocations: 0.5517 MB / 1.004 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002834/1.262, allocations: 1.948 MB / 1.006 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/1.262, allocations: 0 / 1.006 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3943/1.656, allocations: 83.73 MB / 1.088 GB, free: 271.1 MB / 0.7638 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/1.656, allocations: 252.9 kB / 1.088 GB, free: 270.8 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.421/5.078, allocations: 0 / 1.088 GB, free: 270.8 MB / 0.7638 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)