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.007041/0.007041, allocations: 104.8 kB / 15.73 MB, free: 6.035 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.00119/0.00119, allocations: 199.2 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002347/0.002346, allocations: 290.8 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9621/0.9621, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 99.84 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1675, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.3708/0.5384, allocations: 20.23 MB / 0.7857 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.5485, allocations: 6.444 MB / 0.792 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.5506, allocations: 88.56 kB / 0.7921 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005275/0.5559, allocations: 2.235 MB / 0.7942 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.5595, allocations: 1.246 MB / 0.7955 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003638/0.5631, allocations: 1.28 MB / 0.7967 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006758/0.5699, allocations: 4.875 MB / 0.8015 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008434/0.5784, allocations: 5.584 MB / 0.8069 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003732/0.5821, allocations: 2.117 MB / 0.809 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004862/0.587, allocations: 2.336 MB / 0.8113 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001785/0.5888, allocations: 429 kB / 0.8117 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003243/0.5921, allocations: 1.007 MB / 0.8127 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003343/0.5954, allocations: 1.665 MB / 0.8143 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004808/0.6002, allocations: 1.916 MB / 0.8162 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009321/0.6096, allocations: 6.521 MB / 0.8225 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.6096, allocations: 0 / 0.8225 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6096, allocations: 0 / 0.8225 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002061/0.6098, allocations: 0 / 0.8225 GB, free: 2.883 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.009735/0.6196, allocations: 3.461 MB / 0.8259 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.6196, allocations: 9.094 kB / 0.8259 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001453/0.6211, allocations: 451.1 kB / 0.8263 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00436/0.6255, allocations: 0.636 MB / 0.827 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004733/0.6302, allocations: 2.042 MB / 0.829 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.6305, allocations: 220.9 kB / 0.8292 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009513/0.6314, allocations: 308.5 kB / 0.8295 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.6423, allocations: 4.881 MB / 0.8342 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/0.6424, allocations: 16.58 kB / 0.8342 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006899/0.6431, allocations: 127.4 kB / 0.8344 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004451/0.6436, allocations: 236 kB / 0.8346 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007455/0.6511, allocations: 3.749 MB / 0.8383 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0263/0.6774, allocations: 21.4 MB / 0.8592 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.6793, allocations: 1.304 MB / 0.8604 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.6808, allocations: 1.061 MB / 0.8615 GB, free: 308 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.6809, allocations: 13 kB / 0.8615 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.6809, allocations: 47.56 kB / 0.8615 GB, free: 236 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 3.627e-06/0.6809, allocations: 0 / 0.8615 GB, free: 236 kB / 0.6075 GB Notification: Performance of matching and sorting (n=138): time 0.02379/0.7047, allocations: 8.652 MB / 0.87 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.7048, allocations: 64.72 kB / 0.87 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.7065, allocations: 1.138 MB / 0.8711 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.7066, allocations: 49.7 kB / 0.8712 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008481/0.7075, allocations: 1.296 MB / 0.8725 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.7079, allocations: 485 kB / 0.8729 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005101/0.7084, allocations: 291.3 kB / 0.8732 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.7086, allocations: 305.1 kB / 0.8735 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.7099, allocations: 0.9174 MB / 0.8744 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.7115, allocations: 1.326 MB / 0.8757 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003242/0.7147, allocations: 2.426 MB / 0.878 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.7147, allocations: 4 kB / 0.8781 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006593/0.7213, allocations: 3.468 MB / 0.8814 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.7214, allocations: 12 kB / 0.8815 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/0.7214, allocations: 12 kB / 0.8815 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003358/0.7248, allocations: 1.176 MB / 0.8826 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.7259, allocations: 267.5 kB / 0.8829 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01824/0.7441, allocations: 13.83 MB / 0.8964 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.7456, allocations: 95.97 kB / 0.8965 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/0.7459, allocations: 60 kB / 0.8965 GB, free: 11.49 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.002063/0.7479, allocations: 1.121 MB / 0.8976 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004112/0.7483, allocations: 162.1 kB / 0.8978 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005876/0.7543, allocations: 3.165 MB / 0.9009 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.7543, allocations: 16 kB / 0.9009 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.567e-05/0.7543, allocations: 15.94 kB / 0.9009 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.7543, allocations: 3.984 kB / 0.9009 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/0.7662, allocations: 6.245 MB / 0.907 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.7662, allocations: 4 kB / 0.907 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006026/0.7669, allocations: 155.7 kB / 0.9071 GB, free: 452 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003048/0.7699, allocations: 1.071 MB / 0.9082 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.7701, allocations: 31.94 kB / 0.9082 GB, free: 15.33 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/0.7876, allocations: 13.54 MB / 0.9214 GB, free: 1.379 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.7877, allocations: 7.938 kB / 0.9214 GB, free: 1.371 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005515/0.7932, allocations: 3.158 MB / 0.9245 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009399/0.7941, allocations: 427 kB / 0.9249 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003561/0.7945, allocations: 24 kB / 0.925 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009712/0.7955, allocations: 83.89 kB / 0.925 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003362/0.7958, allocations: 128.7 kB / 0.9252 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.762e-05/0.7959, allocations: 36 kB / 0.9252 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00116/0.7971, allocations: 0.771 MB / 0.926 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7971, allocations: 0 / 0.926 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002185/0.7993, allocations: 0.6562 MB / 0.9266 GB, free: 11.98 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.005574/0.8049, allocations: 3.732 MB / 0.9302 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004969/0.8099, allocations: 3.146 MB / 0.9333 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.8099, allocations: 4 kB / 0.9333 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003157/0.8131, allocations: 1.959 MB / 0.9352 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002635/0.8157, allocations: 0.5009 MB / 0.9357 GB, free: 2.492 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03444/0.8502, allocations: 19.1 MB / 0.9544 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003224/0.8535, allocations: 2.34 MB / 0.9566 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001079/0.8546, allocations: 362 kB / 0.957 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/0.8559, allocations: 1.011 MB / 0.958 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of SimCode: time 1.102e-06/0.8559, allocations: 0 / 0.958 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.128/0.9839, allocations: 52.32 MB / 1.009 GB, free: 7.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.92, allocations: 12.19 kB / 1.009 GB, free: 7.418 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)