Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.004935/0.004935, allocations: 103.5 kB / 15.73 MB, free: 5.996 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.001091/0.001091, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002311/0.002311, allocations: 271 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9707/0.9707, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 92.28 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1778, 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_N): time 0.3758/0.5537, allocations: 20.22 MB / 0.7857 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.5649, allocations: 6.444 MB / 0.792 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.5671, allocations: 85.28 kB / 0.792 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004957/0.5721, allocations: 2.24 MB / 0.7942 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003451/0.5756, allocations: 1.188 MB / 0.7954 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.579, allocations: 1.28 MB / 0.7966 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006346/0.5854, allocations: 4.861 MB / 0.8014 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00924/0.5946, allocations: 5.591 MB / 0.8068 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/0.5991, allocations: 2.121 MB / 0.8089 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005276/0.6044, allocations: 2.336 MB / 0.8112 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000964/0.6054, allocations: 431.8 kB / 0.8116 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.608, allocations: 1.005 MB / 0.8126 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002197/0.6102, allocations: 1.66 MB / 0.8142 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00328/0.6135, allocations: 1.912 MB / 0.8161 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008513/0.6221, allocations: 6.525 MB / 0.8225 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.6221, allocations: 0 / 0.8225 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.765e-06/0.6221, allocations: 1.469 kB / 0.8225 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001771/0.6223, allocations: 0 / 0.8225 GB, free: 2.695 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009023/0.6313, allocations: 3.46 MB / 0.8258 GB, free: 344 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.6314, allocations: 9.312 kB / 0.8258 GB, free: 344 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009129/0.6323, allocations: 449.9 kB / 0.8263 GB, free: 16 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003738/0.6361, allocations: 0.6411 MB / 0.8269 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004946/0.641, allocations: 2.046 MB / 0.8289 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.6412, allocations: 216.5 kB / 0.8291 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006307/0.6419, allocations: 305 kB / 0.8294 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.6529, allocations: 4.88 MB / 0.8342 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.653, allocations: 13.12 kB / 0.8342 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004276/0.6534, allocations: 125.8 kB / 0.8343 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004913/0.6539, allocations: 233.2 kB / 0.8345 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006742/0.6607, allocations: 3.754 MB / 0.8382 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/0.6857, allocations: 21.4 MB / 0.8591 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.6876, allocations: 1.308 MB / 0.8604 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.689, allocations: 1.049 MB / 0.8614 GB, free: 196 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.321e-05/0.6891, allocations: 17 kB / 0.8614 GB, free: 180 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.6892, allocations: 43.56 kB / 0.8614 GB, free: 124 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 2.715e-06/0.6892, allocations: 0 / 0.8614 GB, free: 124 kB / 0.6075 GB Notification: Performance of matching and sorting (n=138): time 0.02534/0.7145, allocations: 8.656 MB / 0.8699 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.7146, allocations: 64.72 kB / 0.87 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.7169, allocations: 1.138 MB / 0.8711 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.7171, allocations: 53.64 kB / 0.8711 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009535/0.7181, allocations: 1.296 MB / 0.8724 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004808/0.7185, allocations: 481.1 kB / 0.8728 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/0.7191, allocations: 291.3 kB / 0.8731 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.7192, allocations: 305.1 kB / 0.8734 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.7205, allocations: 0.9135 MB / 0.8743 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.7221, allocations: 1.326 MB / 0.8756 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/0.7251, allocations: 2.426 MB / 0.878 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.7251, allocations: 4 kB / 0.878 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006024/0.7312, allocations: 3.476 MB / 0.8814 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.7312, allocations: 10.03 kB / 0.8814 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.7312, allocations: 19.98 kB / 0.8814 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003169/0.7344, allocations: 1.172 MB / 0.8825 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008973/0.7353, allocations: 259.5 kB / 0.8828 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/0.7533, allocations: 13.84 MB / 0.8963 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.755, allocations: 91.97 kB / 0.8964 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/0.7553, allocations: 64 kB / 0.8965 GB, free: 11.38 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002415/0.7577, allocations: 1.118 MB / 0.8975 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.7581, allocations: 162.1 kB / 0.8977 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005878/0.764, allocations: 3.173 MB / 0.9008 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.7641, allocations: 12 kB / 0.9008 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-05/0.7641, allocations: 15.94 kB / 0.9008 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.7641, allocations: 3.984 kB / 0.9008 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.776, allocations: 6.245 MB / 0.9069 GB, free: 492 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.7761, allocations: 4 kB / 0.9069 GB, free: 488 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.7767, allocations: 155.7 kB / 0.9071 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00288/0.7795, allocations: 1.07 MB / 0.9081 GB, free: 15.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.7797, allocations: 28 kB / 0.9082 GB, free: 15.22 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01673/0.7964, allocations: 13.54 MB / 0.9214 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.7965, allocations: 7.938 kB / 0.9214 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005583/0.8021, allocations: 3.154 MB / 0.9245 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/0.8033, allocations: 427 kB / 0.9249 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004505/0.8038, allocations: 31.98 kB / 0.9249 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.8049, allocations: 79.91 kB / 0.925 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/0.8053, allocations: 124.7 kB / 0.9251 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.8054, allocations: 40 kB / 0.9251 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001256/0.8066, allocations: 0.7671 MB / 0.9259 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8066, allocations: 0 / 0.9259 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002472/0.8091, allocations: 0.6602 MB / 0.9265 GB, free: 11.88 MB / 0.6856 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00559/0.8147, allocations: 3.744 MB / 0.9302 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004966/0.8197, allocations: 3.138 MB / 0.9332 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.8197, allocations: 0 / 0.9332 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003007/0.8227, allocations: 1.959 MB / 0.9352 GB, free: 2.859 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/0.8257, allocations: 0.4896 MB / 0.9356 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0327/0.8584, allocations: 19.11 MB / 0.9543 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003333/0.8618, allocations: 2.34 MB / 0.9566 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001169/0.863, allocations: 354.1 kB / 0.9569 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/0.8643, allocations: 1.007 MB / 0.9579 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/0.8643, allocations: 0 / 0.9579 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09884/0.9631, allocations: 52.94 MB / 1.01 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.65, allocations: 16.19 kB / 1.01 GB, free: 6.68 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)