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.005157/0.005157, allocations: 102.8 kB / 15.74 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.001284/0.001284, allocations: 202.6 kB / 16.68 MB, free: 5.965 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002574/0.002574, allocations: 283 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003568/0.003568, allocations: 104.3 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2096, 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_R): time 0.4139/0.6236, allocations: 35.11 MB / 0.8002 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.022/0.6456, allocations: 9.938 MB / 0.8099 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004984/0.6506, allocations: 151.1 kB / 0.8101 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01241/0.6631, allocations: 3.797 MB / 0.8138 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009546/0.6727, allocations: 2.039 MB / 0.8158 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00771/0.6804, allocations: 1.954 MB / 0.8177 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01422/0.6946, allocations: 7.981 MB / 0.8255 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02005/0.7147, allocations: 9.528 MB / 0.8348 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009377/0.7242, allocations: 3.378 MB / 0.8381 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008821/0.7331, allocations: 3.732 MB / 0.8417 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002969/0.7361, allocations: 0.6781 MB / 0.8424 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005742/0.7418, allocations: 1.443 MB / 0.8438 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.006073/0.7479, allocations: 2.62 MB / 0.8463 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008831/0.7568, allocations: 3.108 MB / 0.8494 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01876/0.7756, allocations: 10.41 MB / 0.8595 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.126e-05/0.7757, allocations: 4 kB / 0.8595 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7757, allocations: 0 / 0.8595 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004147/0.7761, allocations: 0 / 0.8595 GB, free: 4.242 MB / 0.6075 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.7933, allocations: 5.534 MB / 0.8649 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.7934, allocations: 12.03 kB / 0.865 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002581/0.796, allocations: 0.6984 MB / 0.8656 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006365/0.8024, allocations: 0.9889 MB / 0.8666 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008575/0.811, allocations: 3.196 MB / 0.8697 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005023/0.8115, allocations: 361.9 kB / 0.8701 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002224/0.8138, allocations: 468.3 kB / 0.8705 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/0.834, allocations: 7.914 MB / 0.8782 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000224/0.8343, allocations: 23.77 kB / 0.8783 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001543/0.8359, allocations: 208 kB / 0.8785 GB, free: 356 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000691/0.8366, allocations: 369.1 kB / 0.8788 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.8503, allocations: 5.937 MB / 0.8846 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05027/0.9006, allocations: 35.99 MB / 0.9198 GB, free: 2.809 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003875/0.9045, allocations: 2.147 MB / 0.9219 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/0.9068, allocations: 1.48 MB / 0.9233 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.9069, allocations: 25.23 kB / 0.9233 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.167e-05/0.907, allocations: 59.75 kB / 0.9234 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=157): time 3.727e-06/0.907, allocations: 0 / 0.9234 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=160): time 0.01562/0.9226, allocations: 7.594 MB / 0.9308 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.123e-05/0.9227, allocations: 68.72 kB / 0.9309 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003547/0.9263, allocations: 1.86 MB / 0.9327 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.9265, allocations: 61.7 kB / 0.9327 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.9283, allocations: 2.188 MB / 0.9349 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006184/0.9289, allocations: 0.581 MB / 0.9354 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000729/0.9296, allocations: 408 kB / 0.9358 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.9298, allocations: 305.1 kB / 0.9361 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.9315, allocations: 1.055 MB / 0.9372 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/0.9339, allocations: 1.772 MB / 0.9389 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004262/0.9382, allocations: 3.052 MB / 0.9419 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.74e-05/0.9382, allocations: 4 kB / 0.9419 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007058/0.9453, allocations: 3.929 MB / 0.9457 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.9453, allocations: 17 kB / 0.9457 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.862e-05/0.9454, allocations: 24 kB / 0.9457 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002545/0.9479, allocations: 0.9311 MB / 0.9467 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.9495, allocations: 435.3 kB / 0.9471 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/0.9736, allocations: 22.78 MB / 0.9693 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.9758, allocations: 119.9 kB / 0.9694 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000418/0.9763, allocations: 96 kB / 0.9695 GB, free: 13.09 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 (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.00322/0.9795, allocations: 1.656 MB / 0.9711 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007523/0.9803, allocations: 266.4 kB / 0.9714 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006247/0.9865, allocations: 3.26 MB / 0.9746 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.9866, allocations: 16 kB / 0.9746 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.674e-05/0.9866, allocations: 12 kB / 0.9746 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.9866, allocations: 7.969 kB / 0.9746 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/1.001, allocations: 7.556 MB / 0.982 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.001, allocations: 7.938 kB / 0.982 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009294/1.002, allocations: 211.7 kB / 0.9822 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/1.004, allocations: 0.8926 MB / 0.9831 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/1.004, allocations: 39.92 kB / 0.9831 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02875/1.033, allocations: 22.74 MB / 1.005 GB, free: 6.492 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.033, allocations: 8 kB / 1.005 GB, free: 6.484 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005879/1.039, allocations: 3.392 MB / 1.009 GB, free: 2.977 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.04, allocations: 0.5422 MB / 1.009 GB, free: 2.414 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002733/1.04, allocations: 35.94 kB / 1.009 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.042, allocations: 95.83 kB / 1.009 GB, free: 2.285 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/1.042, allocations: 141 kB / 1.009 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/1.042, allocations: 48 kB / 1.009 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001747/1.044, allocations: 1.225 MB / 1.011 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.126e-06/1.044, allocations: 4 kB / 1.011 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00326/1.047, allocations: 0.9062 MB / 1.012 GB, free: 15.95 MB / 0.7794 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.005825/1.053, allocations: 3.987 MB / 1.015 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006773/1.06, allocations: 4.439 MB / 1.02 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.06, allocations: 4 kB / 1.02 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.004414/1.064, allocations: 2.992 MB / 1.023 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003514/1.068, allocations: 0.8277 MB / 1.024 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04142/1.109, allocations: 25.19 MB / 1.048 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004031/1.113, allocations: 3.209 MB / 1.051 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001825/1.115, allocations: 0.5254 MB / 1.052 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002074/1.117, allocations: 1.655 MB / 1.053 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of SimCode: time 9.12e-07/1.117, allocations: 0 / 1.053 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4956/1.613, allocations: 70.28 MB / 1.122 GB, free: 266.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/15.71, allocations: 4.719 kB / 1.122 GB, free: 266.9 MB / 0.8419 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)