Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.004841/0.004841, allocations: 95.86 kB / 15.73 MB, free: 6.484 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.001419/0.001419, allocations: 192.2 kB / 16.67 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002478/0.002478, allocations: 287 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.038/1.038, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 87.92 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1767, allocations: 86.98 MB / 0.7659 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.3554/0.5321, allocations: 32.58 MB / 0.7977 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01995/0.5521, allocations: 10.27 MB / 0.8078 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004614/0.5568, allocations: 150.2 kB / 0.8079 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01116/0.5679, allocations: 3.719 MB / 0.8115 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006583/0.5745, allocations: 1.852 MB / 0.8134 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006637/0.5812, allocations: 2.127 MB / 0.8154 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01159/0.5928, allocations: 7.335 MB / 0.8226 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01402/0.6069, allocations: 9.418 MB / 0.8318 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00688/0.6138, allocations: 3.173 MB / 0.8349 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007801/0.6217, allocations: 3.476 MB / 0.8383 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002104/0.6238, allocations: 0.6491 MB / 0.8389 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005102/0.6289, allocations: 1.778 MB / 0.8407 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003963/0.6329, allocations: 2.539 MB / 0.8431 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00519/0.6381, allocations: 2.898 MB / 0.846 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.6519, allocations: 10.13 MB / 0.8559 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.652, allocations: 4 kB / 0.8559 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.652, allocations: 0 / 0.8559 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002598/0.6523, allocations: 3.938 kB / 0.8559 GB, free: 7.969 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01292/0.6652, allocations: 5.128 MB / 0.8609 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6653, allocations: 8.031 kB / 0.8609 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00122/0.6665, allocations: 0.682 MB / 0.8616 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00535/0.6718, allocations: 0.9812 MB / 0.8625 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006617/0.6785, allocations: 3.059 MB / 0.8655 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003062/0.6788, allocations: 349.7 kB / 0.8658 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.6799, allocations: 460.3 kB / 0.8663 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/0.6947, allocations: 7.671 MB / 0.8738 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001834/0.6949, allocations: 23.81 kB / 0.8738 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008974/0.6958, allocations: 204 kB / 0.874 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004103/0.6963, allocations: 313 kB / 0.8743 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.7078, allocations: 5.714 MB / 0.8799 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04986/0.7577, allocations: 34.88 MB / 0.9139 GB, free: 8.797 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004684/0.7624, allocations: 2.154 MB / 0.916 GB, free: 6.527 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/0.7653, allocations: 1.264 MB / 0.9173 GB, free: 5.262 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.7654, allocations: 13.31 kB / 0.9173 GB, free: 5.25 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.7655, allocations: 51.88 kB / 0.9173 GB, free: 5.191 MB / 0.67 GB Notification: Performance of pre-optimization done (n=133): time 4.438e-06/0.7655, allocations: 0 / 0.9173 GB, free: 5.191 MB / 0.67 GB Notification: Performance of matching and sorting (n=136): time 0.0213/0.7868, allocations: 7.142 MB / 0.9243 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.7869, allocations: 68.72 kB / 0.9244 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/0.79, allocations: 1.48 MB / 0.9258 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.7902, allocations: 53.7 kB / 0.9259 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001679/0.7919, allocations: 2.069 MB / 0.9279 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005648/0.7925, allocations: 0.5074 MB / 0.9284 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006417/0.7931, allocations: 351.3 kB / 0.9287 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7933, allocations: 301.1 kB / 0.929 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.7948, allocations: 0.9135 MB / 0.9299 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.7969, allocations: 1.597 MB / 0.9314 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/0.8007, allocations: 2.741 MB / 0.9341 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/0.8008, allocations: 8 kB / 0.9341 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006889/0.8077, allocations: 3.539 MB / 0.9376 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.8077, allocations: 19.97 kB / 0.9376 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/0.8078, allocations: 24 kB / 0.9376 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/0.8105, allocations: 0.8998 MB / 0.9385 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.8118, allocations: 347.4 kB / 0.9388 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02485/0.8367, allocations: 23.12 MB / 0.9614 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.8383, allocations: 104 kB / 0.9615 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.8385, allocations: 84 kB / 0.9616 GB, free: 5.102 MB / 0.7169 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002602/0.8411, allocations: 1.606 MB / 0.9632 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.8415, allocations: 214.6 kB / 0.9634 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005735/0.8472, allocations: 2.994 MB / 0.9663 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.8473, allocations: 12 kB / 0.9663 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/0.8473, allocations: 12 kB / 0.9663 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.8473, allocations: 7.969 kB / 0.9663 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.8601, allocations: 7.336 MB / 0.9735 GB, free: 8.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.8601, allocations: 4 kB / 0.9735 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008491/0.861, allocations: 172.3 kB / 0.9737 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/0.8635, allocations: 0.8257 MB / 0.9745 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.8637, allocations: 31.98 kB / 0.9745 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02327/0.8869, allocations: 21.95 MB / 0.9959 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.431e-05/0.887, allocations: 16.03 kB / 0.996 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005722/0.8927, allocations: 3.034 MB / 0.9989 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.8938, allocations: 471.6 kB / 0.9994 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.894, allocations: 28 kB / 0.9994 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008292/0.8948, allocations: 71.91 kB / 0.9995 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003726/0.8952, allocations: 128.7 kB / 0.9996 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.781e-05/0.8953, allocations: 36 kB / 0.9996 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001432/0.8968, allocations: 0.9756 MB / 1.001 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8968, allocations: 0 / 1.001 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003327/0.9001, allocations: 0.7929 MB / 1.001 GB, free: 10.23 MB / 0.7637 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006064/0.9062, allocations: 3.631 MB / 1.005 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006747/0.913, allocations: 4.039 MB / 1.009 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.913, allocations: 0 / 1.009 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004234/0.9173, allocations: 2.752 MB / 1.012 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/0.9205, allocations: 0.7296 MB / 1.012 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03838/0.9589, allocations: 22.45 MB / 1.034 GB, free: 7.215 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003824/0.9628, allocations: 3.117 MB / 1.037 GB, free: 4.07 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001368/0.9642, allocations: 450 kB / 1.038 GB, free: 3.629 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001958/0.9661, allocations: 1.538 MB / 1.039 GB, free: 2.09 MB / 0.795 GB Notification: Performance of SimCode: time 1.082e-06/0.9661, allocations: 0 / 1.039 GB, free: 2.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4998/1.466, allocations: 61.46 MB / 1.099 GB, free: 267.1 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/14.57, allocations: 3.609 kB / 1.099 GB, free: 267.1 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)