Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.001087/0.001087, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 283 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9251/0.9251, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 100.5 kB / 0.5954 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1283, allocations: 86.97 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01427/0.1426, allocations: 14.04 MB / 0.694 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.1544, allocations: 9.392 MB / 0.7032 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009081/0.1553, allocations: 59.62 kB / 0.7032 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003692/0.159, allocations: 1.662 MB / 0.7049 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.1625, allocations: 1.545 MB / 0.7064 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.164, allocations: 0.752 MB / 0.7071 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002268/0.1663, allocations: 2.524 MB / 0.7096 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.1678, allocations: 1.399 MB / 0.7109 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.1688, allocations: 1.047 MB / 0.712 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.1699, allocations: 1.137 MB / 0.7131 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.1701, allocations: 164 kB / 0.7132 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.1712, allocations: 0.7953 MB / 0.714 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004458/0.1717, allocations: 0.6154 MB / 0.7146 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007253/0.1724, allocations: 0.9407 MB / 0.7155 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.1744, allocations: 2.737 MB / 0.7182 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.1744, allocations: 0 / 0.7182 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1744, allocations: 0 / 0.7182 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.1744, allocations: 0 / 0.7182 GB, free: 9.637 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003116/0.1776, allocations: 2.139 MB / 0.7203 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.1776, allocations: 11.97 kB / 0.7203 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002002/0.1778, allocations: 194.4 kB / 0.7205 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.1885, allocations: 2.089 MB / 0.7225 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.1904, allocations: 1.197 MB / 0.7237 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/0.1904, allocations: 86.73 kB / 0.7238 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.1907, allocations: 123.8 kB / 0.7239 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00492/0.1956, allocations: 2.679 MB / 0.7265 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/0.1956, allocations: 7.938 kB / 0.7265 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.1958, allocations: 55.98 kB / 0.7266 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006024/0.1964, allocations: 182.1 kB / 0.7267 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006951/0.2034, allocations: 2.795 MB / 0.7295 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01199/0.2154, allocations: 10.51 MB / 0.7397 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00639/0.2218, allocations: 2.534 MB / 0.7422 GB, free: 108 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002909/0.2247, allocations: 1.281 MB / 0.7435 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.582e-05/0.2248, allocations: 17 kB / 0.7435 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.2248, allocations: 39.56 kB / 0.7435 GB, free: 14.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.294e-06/0.2248, allocations: 0 / 0.7435 GB, free: 14.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.04273/0.2675, allocations: 13.36 MB / 0.7566 GB, free: 1.188 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.2676, allocations: 68.72 kB / 0.7566 GB, free: 1.109 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.2688, allocations: 1.125 MB / 0.7577 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.2689, allocations: 49.7 kB / 0.7578 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.2693, allocations: 0.7117 MB / 0.7585 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.2696, allocations: 453.4 kB / 0.7589 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/0.2701, allocations: 263.4 kB / 0.7591 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2702, allocations: 361.9 kB / 0.7595 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003118/0.2733, allocations: 1.339 MB / 0.7608 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/0.2766, allocations: 1.604 MB / 0.7624 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006729/0.2833, allocations: 2.987 MB / 0.7653 GB, free: 8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.2834, allocations: 4 kB / 0.7653 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01118/0.2945, allocations: 4.45 MB / 0.7696 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.2946, allocations: 8 kB / 0.7696 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.2946, allocations: 4 kB / 0.7696 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00501/0.2996, allocations: 1.443 MB / 0.771 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.3016, allocations: 439.2 kB / 0.7715 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2765/0.5782, allocations: 26.7 MB / 0.7975 GB, free: 69.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/0.5807, allocations: 307.3 kB / 0.7978 GB, free: 69.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.5808, allocations: 59.59 kB / 0.7979 GB, free: 69.85 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006584/0.5815, allocations: 438.9 kB / 0.7983 GB, free: 69.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.5817, allocations: 164.8 kB / 0.7985 GB, free: 69.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/0.5925, allocations: 4.448 MB / 0.8028 GB, free: 68.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5925, allocations: 14.31 kB / 0.8028 GB, free: 68.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/0.5925, allocations: 14.12 kB / 0.8028 GB, free: 68.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.5925, allocations: 6.328 kB / 0.8028 GB, free: 68.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/0.6054, allocations: 6.775 MB / 0.8095 GB, free: 65.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.6054, allocations: 3.469 kB / 0.8095 GB, free: 65.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/0.6072, allocations: 380.3 kB / 0.8098 GB, free: 65.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004467/0.6117, allocations: 1.322 MB / 0.8111 GB, free: 65.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.6119, allocations: 40.62 kB / 0.8112 GB, free: 65.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/0.6299, allocations: 25.49 MB / 0.836 GB, free: 42.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6299, allocations: 4.25 kB / 0.8361 GB, free: 42.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009216/0.6392, allocations: 4.2 MB / 0.8402 GB, free: 39.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000678/0.6399, allocations: 461 kB / 0.8406 GB, free: 39.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.6402, allocations: 27.69 kB / 0.8406 GB, free: 39.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/0.6421, allocations: 309.2 kB / 0.8409 GB, free: 39.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/0.6424, allocations: 123.6 kB / 0.841 GB, free: 39.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.6425, allocations: 51.44 kB / 0.8411 GB, free: 39.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007686/0.6433, allocations: 0.7531 MB / 0.8418 GB, free: 38.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6433, allocations: 0 / 0.8418 GB, free: 38.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001703/0.645, allocations: 0.5675 MB / 0.8424 GB, free: 38.86 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009191/0.6542, allocations: 4.8 MB / 0.8471 GB, free: 35.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00956/0.6638, allocations: 5.519 MB / 0.8524 GB, free: 30.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.6638, allocations: 0 / 0.8524 GB, free: 30.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005358/0.6692, allocations: 3.482 MB / 0.8558 GB, free: 26.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.6713, allocations: 0.559 MB / 0.8564 GB, free: 26.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03258/0.7039, allocations: 20.33 MB / 0.8762 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/0.7047, allocations: 1.477 MB / 0.8777 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001402/0.7061, allocations: 431.2 kB / 0.8781 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006425/0.7067, allocations: 0.6281 MB / 0.8787 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.7067, allocations: 0 / 0.8787 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.257/2.963, allocations: 51.33 MB / 0.9288 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/15.06, allocations: 5.469 kB / 0.9288 GB, free: 15.95 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)