Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008253/0.008253, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001787/0.001787, allocations: 274.1 kB / 291.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9684/0.9684, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004479, allocations: 13.64 kB / 0.5988 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1672, allocations: 88.55 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03537/0.2026, allocations: 33.96 MB / 0.7184 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.2185, allocations: 9.822 MB / 0.728 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003755/0.2223, allocations: 123.3 kB / 0.7281 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.2247, allocations: 0.7054 MB / 0.7288 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005725/0.2305, allocations: 1.913 MB / 0.7307 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004671/0.2352, allocations: 1.616 MB / 0.7323 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01667/0.2518, allocations: 11.2 MB / 0.7432 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01961/0.2715, allocations: 12.16 MB / 0.7551 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004807/0.2764, allocations: 2.404 MB / 0.7574 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005644/0.282, allocations: 3.219 MB / 0.7606 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001478/0.2835, allocations: 280 kB / 0.7608 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004324/0.2879, allocations: 1.26 MB / 0.7621 GB, free: 44 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.3271/0.615, allocations: 2.098 MB / 0.7641 GB, free: 27.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007643/0.6227, allocations: 2.532 MB / 0.7666 GB, free: 26.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.6386, allocations: 9.858 MB / 0.7762 GB, free: 25.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.6386, allocations: 3.75 kB / 0.7762 GB, free: 25.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.907e-06/0.6386, allocations: 0 / 0.7762 GB, free: 25.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003159/0.639, allocations: 0.5 kB / 0.7762 GB, free: 25.87 MB / 0.545 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.01163/0.6506, allocations: 4.358 MB / 0.7805 GB, free: 23.97 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.6507, allocations: 9.594 kB / 0.7805 GB, free: 23.97 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001953/0.6526, allocations: 0.6989 MB / 0.7812 GB, free: 23.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005232/0.6579, allocations: 0.9666 MB / 0.7821 GB, free: 23.62 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005854/0.6638, allocations: 2.995 MB / 0.785 GB, free: 22.97 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.6641, allocations: 360.3 kB / 0.7854 GB, free: 22.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/0.6656, allocations: 467.6 kB / 0.7858 GB, free: 22.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/0.6818, allocations: 7.908 MB / 0.7935 GB, free: 21.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.682, allocations: 18.53 kB / 0.7936 GB, free: 21.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005507/0.6826, allocations: 209.7 kB / 0.7938 GB, free: 21.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005547/0.6831, allocations: 372.4 kB / 0.7941 GB, free: 21.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.6955, allocations: 5.933 MB / 0.7999 GB, free: 21.01 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03666/0.7322, allocations: 36.27 MB / 0.8353 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.7354, allocations: 2.151 MB / 0.8374 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.7372, allocations: 1.481 MB / 0.8389 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-05/0.7373, allocations: 16.88 kB / 0.8389 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.7374, allocations: 55.72 kB / 0.8389 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.417e-06/0.7374, allocations: 0 / 0.8389 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01394/0.7513, allocations: 7.573 MB / 0.8463 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.7514, allocations: 67.12 kB / 0.8464 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.7543, allocations: 1.86 MB / 0.8482 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.7545, allocations: 53.64 kB / 0.8483 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.756, allocations: 2.125 MB / 0.8503 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005368/0.7565, allocations: 0.56 MB / 0.8509 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.7567, allocations: 179.1 kB / 0.8511 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.7569, allocations: 301.1 kB / 0.8513 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.7583, allocations: 1.063 MB / 0.8524 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.7604, allocations: 1.761 MB / 0.8541 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00378/0.7642, allocations: 3.042 MB / 0.8571 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.7642, allocations: 12 kB / 0.8571 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006602/0.7708, allocations: 3.927 MB / 0.8609 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.7709, allocations: 17.41 kB / 0.8609 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.7709, allocations: 23.38 kB / 0.861 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/0.7735, allocations: 0.9257 MB / 0.8619 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.7753, allocations: 428.4 kB / 0.8623 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/0.7946, allocations: 21.08 MB / 0.8829 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.7971, allocations: 123.8 kB / 0.883 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003854/0.7975, allocations: 95.98 kB / 0.8831 GB, free: 9.672 MB / 0.6075 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.003695/0.8012, allocations: 1.649 MB / 0.8847 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006082/0.8018, allocations: 253.1 kB / 0.8849 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005722/0.8076, allocations: 3.265 MB / 0.8881 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.8076, allocations: 16 kB / 0.8881 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.8076, allocations: 9.406 kB / 0.8881 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.8077, allocations: 15.84 kB / 0.8881 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.8207, allocations: 7.55 MB / 0.8955 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.8207, allocations: 4 kB / 0.8955 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009777/0.8217, allocations: 218.5 kB / 0.8957 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002423/0.8241, allocations: 0.8962 MB / 0.8966 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/0.8244, allocations: 32 kB / 0.8966 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/0.8435, allocations: 21.04 MB / 0.9172 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.8436, allocations: 7.75 kB / 0.9172 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005494/0.8491, allocations: 3.38 MB / 0.9205 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.8503, allocations: 0.533 MB / 0.921 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/0.8506, allocations: 39.98 kB / 0.921 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.8516, allocations: 87.89 kB / 0.9211 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/0.852, allocations: 144.6 kB / 0.9213 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.8521, allocations: 51.38 kB / 0.9213 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001629/0.8537, allocations: 1.221 MB / 0.9225 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8538, allocations: 0 / 0.9225 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00277/0.8565, allocations: 0.9023 MB / 0.9234 GB, free: 14.71 MB / 0.6544 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.005335/0.8619, allocations: 3.988 MB / 0.9273 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006455/0.8684, allocations: 4.428 MB / 0.9316 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.8684, allocations: 4 kB / 0.9316 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004431/0.8728, allocations: 3.001 MB / 0.9345 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005525/0.8784, allocations: 0.7703 MB / 0.9353 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04795/0.9264, allocations: 29.51 MB / 0.9641 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003463/0.9299, allocations: 3.207 MB / 0.9672 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0019/0.9318, allocations: 0.5293 MB / 0.9678 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/0.9337, allocations: 1.657 MB / 0.9694 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of SimCode: time 7.32e-07/0.9337, allocations: 0 / 0.9694 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/1.035, allocations: 68.33 MB / 1.036 GB, free: 9.871 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/1.036, allocations: 262.4 kB / 1.036 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.422/4.457, allocations: 0 / 1.036 GB, free: 9.617 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)