Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_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.001022/0.001022, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009886/0.0009886, allocations: 190.8 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 292.3 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 68.38 kB / 0.6709 GB, free: 26.61 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2244, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03187/0.2564, allocations: 32.22 MB / 0.8143 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01557/0.272, allocations: 10.37 MB / 0.8244 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.2744, allocations: 135.3 kB / 0.8245 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007509/0.282, allocations: 3.473 MB / 0.8279 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.2867, allocations: 1.739 MB / 0.8296 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004562/0.2913, allocations: 1.928 MB / 0.8315 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.3013, allocations: 10.58 MB / 0.8418 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01357/0.3149, allocations: 10.62 MB / 0.8522 GB, free: 6.574 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004582/0.3195, allocations: 2.697 MB / 0.8548 GB, free: 3.867 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004548/0.3241, allocations: 3.555 MB / 0.8583 GB, free: 308 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008381/0.3249, allocations: 452 kB / 0.8587 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003515/0.3285, allocations: 1.88 MB / 0.8606 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002257/0.3307, allocations: 2.343 MB / 0.8629 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002881/0.3336, allocations: 2.664 MB / 0.8655 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.3437, allocations: 9.987 MB / 0.8752 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3438, allocations: 0 / 0.8752 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3438, allocations: 0 / 0.8752 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002144/0.344, allocations: 0 / 0.8752 GB, free: 14.94 MB / 0.7012 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.009001/0.353, allocations: 4.986 MB / 0.8801 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3531, allocations: 16.03 kB / 0.8801 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008509/0.3539, allocations: 0.6742 MB / 0.8808 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004861/0.3588, allocations: 0.959 MB / 0.8817 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/0.3632, allocations: 2.855 MB / 0.8845 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.3634, allocations: 349.7 kB / 0.8848 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006258/0.364, allocations: 468.2 kB / 0.8853 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.3752, allocations: 7.667 MB / 0.8927 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/0.3753, allocations: 31.77 kB / 0.8928 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004273/0.3758, allocations: 203.9 kB / 0.893 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002975/0.3761, allocations: 313 kB / 0.8933 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00856/0.3846, allocations: 5.71 MB / 0.8988 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.38/0.7646, allocations: 35.09 MB / 0.9331 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.7669, allocations: 2.156 MB / 0.9352 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.7684, allocations: 1.263 MB / 0.9365 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.054e-05/0.7684, allocations: 17.69 kB / 0.9365 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.7685, allocations: 44.78 kB / 0.9365 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.526e-06/0.7685, allocations: 2.594 kB / 0.9365 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.0122/0.7807, allocations: 7.09 MB / 0.9434 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.7807, allocations: 66.92 kB / 0.9435 GB, free: 106.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.7826, allocations: 1.485 MB / 0.945 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.29e-05/0.7827, allocations: 45.77 kB / 0.945 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.7837, allocations: 2.005 MB / 0.947 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/0.784, allocations: 491 kB / 0.9474 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000557/0.7846, allocations: 346.4 kB / 0.9478 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.042e-05/0.7847, allocations: 302.4 kB / 0.948 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.7863, allocations: 0.9154 MB / 0.9489 GB, free: 102.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.788, allocations: 1.591 MB / 0.9505 GB, free: 101.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003234/0.7913, allocations: 2.736 MB / 0.9532 GB, free: 99.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.7913, allocations: 5.938 kB / 0.9532 GB, free: 99.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006254/0.7976, allocations: 3.536 MB / 0.9566 GB, free: 98.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.7976, allocations: 14.75 kB / 0.9566 GB, free: 98.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/0.7976, allocations: 22.62 kB / 0.9567 GB, free: 98.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002445/0.8001, allocations: 0.9036 MB / 0.9575 GB, free: 98.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.8012, allocations: 353.3 kB / 0.9579 GB, free: 98.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/0.8164, allocations: 21.22 MB / 0.9786 GB, free: 79.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.8175, allocations: 103 kB / 0.9787 GB, free: 79.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.8177, allocations: 82.78 kB / 0.9788 GB, free: 79.49 MB / 0.7325 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.002016/0.8197, allocations: 1.609 MB / 0.9803 GB, free: 78.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.8199, allocations: 208.5 kB / 0.9805 GB, free: 78.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/0.8241, allocations: 2.991 MB / 0.9835 GB, free: 76.58 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.8241, allocations: 16.25 kB / 0.9835 GB, free: 76.58 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.023e-05/0.8242, allocations: 7.906 kB / 0.9835 GB, free: 76.58 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.8242, allocations: 11.97 kB / 0.9835 GB, free: 76.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.8355, allocations: 7.342 MB / 0.9907 GB, free: 71.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.8355, allocations: 11.88 kB / 0.9907 GB, free: 71.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/0.8362, allocations: 172.3 kB / 0.9908 GB, free: 71.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.8383, allocations: 0.8302 MB / 0.9917 GB, free: 71.44 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.426e-05/0.8384, allocations: 32.12 kB / 0.9917 GB, free: 71.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/0.8522, allocations: 20.29 MB / 1.012 GB, free: 52.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.8523, allocations: 9.156 kB / 1.012 GB, free: 52.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/0.8562, allocations: 3.027 MB / 1.014 GB, free: 49.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006599/0.8568, allocations: 462.5 kB / 1.015 GB, free: 48.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.8571, allocations: 35.94 kB / 1.015 GB, free: 48.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007943/0.8579, allocations: 71.91 kB / 1.015 GB, free: 48.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/0.8582, allocations: 120.7 kB / 1.015 GB, free: 48.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.251e-05/0.8583, allocations: 40 kB / 1.015 GB, free: 48.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001041/0.8593, allocations: 0.9756 MB / 1.016 GB, free: 47.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8594, allocations: 0 / 1.016 GB, free: 47.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00237/0.8617, allocations: 0.7812 MB / 1.017 GB, free: 46.95 MB / 0.7325 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.004188/0.8659, allocations: 3.622 MB / 1.02 GB, free: 43.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004492/0.8704, allocations: 4.006 MB / 1.024 GB, free: 39.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.8704, allocations: 0 / 1.024 GB, free: 39.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002802/0.8733, allocations: 2.736 MB / 1.027 GB, free: 36.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.8759, allocations: 0.672 MB / 1.028 GB, free: 35.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03133/0.9072, allocations: 25.75 MB / 1.053 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003238/0.9105, allocations: 3.115 MB / 1.056 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001246/0.9117, allocations: 453.9 kB / 1.056 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/0.9132, allocations: 1.538 MB / 1.058 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/0.9132, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09888/1.012, allocations: 59.02 MB / 1.115 GB, free: 8.52 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/1.012, allocations: 248.9 kB / 1.116 GB, free: 8.262 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.631, allocations: 2.75 kB / 1.116 GB, free: 8.262 MB / 0.795 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)