Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 252 MB / 267.3 MB, free: 10.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009314/0.0009314, allocations: 170.4 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 0.578 GB, free: 20.42 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008415/0.0008418, allocations: 90.31 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003529, allocations: 13.16 kB / 0.7971 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2309, allocations: 106.3 MB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03017/0.2611, allocations: 33.88 MB / 0.934 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.2775, allocations: 9.903 MB / 0.9437 GB, free: 19.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005335/0.2828, allocations: 127.2 kB / 0.9438 GB, free: 19.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.2855, allocations: 0.7016 MB / 0.9445 GB, free: 18.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006308/0.2918, allocations: 1.913 MB / 0.9464 GB, free: 17.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004238/0.2961, allocations: 1.609 MB / 0.9479 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.3063, allocations: 11.2 MB / 0.9589 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01844/0.3247, allocations: 12.16 MB / 0.9707 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005783/0.3306, allocations: 2.478 MB / 0.9732 GB, free: 5.449 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006132/0.3367, allocations: 3.207 MB / 0.9763 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.338, allocations: 280 kB / 0.9766 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/0.3417, allocations: 1.271 MB / 0.9778 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.002728/0.3444, allocations: 2.1 MB / 0.9798 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003883/0.3483, allocations: 2.532 MB / 0.9823 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.3591, allocations: 9.859 MB / 0.9919 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3592, allocations: 0 / 0.9919 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3592, allocations: 0 / 0.9919 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003406/0.3595, allocations: 0 / 0.9919 GB, free: 2.137 MB / 0.6355 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.01176/0.3713, allocations: 4.358 MB / 0.9962 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.43e-05/0.3714, allocations: 12.03 kB / 0.9962 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003273/0.3747, allocations: 0.6984 MB / 0.9969 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009104/0.3838, allocations: 0.9705 MB / 0.9978 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009383/0.3932, allocations: 2.987 MB / 1.001 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005047/0.3937, allocations: 357.9 kB / 1.001 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002153/0.3959, allocations: 472.2 kB / 1.002 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/0.4147, allocations: 7.906 MB / 1.009 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/0.4148, allocations: 19.88 kB / 1.009 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005763/0.4154, allocations: 208 kB / 1.009 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000593/0.416, allocations: 365 kB / 1.01 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/0.4286, allocations: 5.941 MB / 1.016 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0412/0.4698, allocations: 36.26 MB / 1.051 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5316/1.001, allocations: 2.132 MB / 1.053 GB, free: 137.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/1.004, allocations: 1.482 MB / 1.055 GB, free: 137.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.222e-05/1.004, allocations: 16.44 kB / 1.055 GB, free: 137.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/1.004, allocations: 58.98 kB / 1.055 GB, free: 137.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=157): time 3.557e-06/1.004, allocations: 0 / 1.055 GB, free: 137.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=160): time 0.0142/1.018, allocations: 7.577 MB / 1.062 GB, free: 135.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/1.018, allocations: 69.23 kB / 1.062 GB, free: 135.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004231/1.022, allocations: 1.862 MB / 1.064 GB, free: 135.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002983/1.023, allocations: 52.05 kB / 1.064 GB, free: 135 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002199/1.025, allocations: 2.127 MB / 1.066 GB, free: 134 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008151/1.026, allocations: 0.5577 MB / 1.067 GB, free: 133.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/1.026, allocations: 45.97 kB / 1.067 GB, free: 133.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.026, allocations: 394.4 kB / 1.067 GB, free: 133.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/1.028, allocations: 1.059 MB / 1.068 GB, free: 133.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/1.031, allocations: 1.761 MB / 1.07 GB, free: 132.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004691/1.036, allocations: 3.054 MB / 1.073 GB, free: 131 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/1.036, allocations: 7.125 kB / 1.073 GB, free: 131 MB / 0.698 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007641/1.044, allocations: 3.927 MB / 1.077 GB, free: 129.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/1.044, allocations: 17 kB / 1.077 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.382e-05/1.044, allocations: 22.69 kB / 1.077 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/1.047, allocations: 0.9281 MB / 1.078 GB, free: 129 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.048, allocations: 430.5 kB / 1.078 GB, free: 129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01751/1.066, allocations: 21.08 MB / 1.099 GB, free: 110.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/1.069, allocations: 127.9 kB / 1.099 GB, free: 110.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004156/1.07, allocations: 94.72 kB / 1.099 GB, free: 110.9 MB / 0.698 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.004865/1.074, allocations: 1.64 MB / 1.1 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000991/1.075, allocations: 251.4 kB / 1.101 GB, free: 110 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005784/1.081, allocations: 3.279 MB / 1.104 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/1.081, allocations: 16.25 kB / 1.104 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/1.081, allocations: 9.531 kB / 1.104 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.081, allocations: 11.97 kB / 1.104 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.093, allocations: 7.546 MB / 1.111 GB, free: 103.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.093, allocations: 7.797 kB / 1.111 GB, free: 103.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008339/1.093, allocations: 212.7 kB / 1.111 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/1.096, allocations: 0.8964 MB / 1.112 GB, free: 103.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/1.096, allocations: 32 kB / 1.112 GB, free: 103.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/1.11, allocations: 21.04 MB / 1.133 GB, free: 80.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.11, allocations: 4 kB / 1.133 GB, free: 80.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005048/1.115, allocations: 3.387 MB / 1.136 GB, free: 76.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/1.117, allocations: 0.5331 MB / 1.137 GB, free: 76.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/1.117, allocations: 32 kB / 1.137 GB, free: 76.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/1.118, allocations: 101.8 kB / 1.137 GB, free: 76.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004115/1.119, allocations: 136.4 kB / 1.137 GB, free: 76.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.923e-05/1.119, allocations: 48 kB / 1.137 GB, free: 76.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001485/1.12, allocations: 1.229 MB / 1.138 GB, free: 74.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/1.12, allocations: 3.938 kB / 1.138 GB, free: 74.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00306/1.123, allocations: 0.9062 MB / 1.139 GB, free: 73.91 MB / 0.698 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.004572/1.128, allocations: 3.988 MB / 1.143 GB, free: 69.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005648/1.133, allocations: 4.417 MB / 1.147 GB, free: 65.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.133, allocations: 4 kB / 1.147 GB, free: 65.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003478/1.137, allocations: 2.999 MB / 1.15 GB, free: 62.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004974/1.142, allocations: 0.7677 MB / 1.151 GB, free: 61.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04191/1.184, allocations: 29.52 MB / 1.18 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002826/1.187, allocations: 3.209 MB / 1.183 GB, free: 26.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001973/1.189, allocations: 0.5254 MB / 1.183 GB, free: 25.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.19, allocations: 1.651 MB / 1.185 GB, free: 24.08 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/1.19, allocations: 4 kB / 1.185 GB, free: 24.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/1.301, allocations: 68.3 MB / 1.252 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/1.301, allocations: 257.6 kB / 1.252 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.176/5.477, allocations: 6.812 kB / 1.252 GB, free: 4.246 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)