Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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_R,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, 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.001404/0.001404, allocations: 194.3 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.362/1.362, allocations: 205.1 MB / 222 MB, free: 4.781 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.632/1.632, allocations: 292.3 MB / 0.5484 GB, free: 13.61 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.001566/0.001566, allocations: 72.98 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.224, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03364/0.2577, allocations: 34.69 MB / 0.8167 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.2725, allocations: 9.984 MB / 0.8264 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/0.276, allocations: 131.3 kB / 0.8266 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008525/0.2846, allocations: 3.535 MB / 0.83 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005881/0.2905, allocations: 1.921 MB / 0.8319 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005045/0.2956, allocations: 1.792 MB / 0.8336 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01339/0.309, allocations: 11.2 MB / 0.8446 GB, free: 14.45 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01511/0.3241, allocations: 10.69 MB / 0.855 GB, free: 3.641 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005107/0.3293, allocations: 2.88 MB / 0.8578 GB, free: 0.75 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005937/0.3352, allocations: 3.797 MB / 0.8615 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001531/0.3368, allocations: 464 kB / 0.862 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.3403, allocations: 1.447 MB / 0.8634 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002708/0.343, allocations: 2.385 MB / 0.8657 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004505/0.3475, allocations: 2.858 MB / 0.8685 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.3587, allocations: 10.18 MB / 0.8785 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3588, allocations: 0 / 0.8785 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3588, allocations: 3.938 kB / 0.8785 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003701/0.3592, allocations: 0 / 0.8785 GB, free: 11.56 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01377/0.373, allocations: 5.409 MB / 0.8837 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.373, allocations: 12.03 kB / 0.8838 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001522/0.3746, allocations: 0.7023 MB / 0.8844 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004845/0.3794, allocations: 0.9626 MB / 0.8854 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005767/0.3852, allocations: 2.995 MB / 0.8883 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004069/0.3857, allocations: 357.9 kB / 0.8886 GB, free: 0.9883 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/0.3879, allocations: 464.3 kB / 0.8891 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01557/0.4035, allocations: 7.91 MB / 0.8968 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.4036, allocations: 23.78 kB / 0.8968 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006351/0.4043, allocations: 208 kB / 0.897 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004834/0.4048, allocations: 373 kB / 0.8974 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.4161, allocations: 5.937 MB / 0.9032 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.409/0.8251, allocations: 36.21 MB / 0.9385 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003354/0.8285, allocations: 2.136 MB / 0.9406 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.8304, allocations: 1.488 MB / 0.9421 GB, free: 106 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.8305, allocations: 18.98 kB / 0.9421 GB, free: 106 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.8306, allocations: 54.5 kB / 0.9422 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=157): time 3.427e-06/0.8306, allocations: 0 / 0.9422 GB, free: 105.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=160): time 0.01406/0.8447, allocations: 7.534 MB / 0.9495 GB, free: 102.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.8447, allocations: 69.2 kB / 0.9496 GB, free: 102 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00471/0.8495, allocations: 1.861 MB / 0.9514 GB, free: 101.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003596/0.8498, allocations: 60.2 kB / 0.9515 GB, free: 101.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.8514, allocations: 2.126 MB / 0.9535 GB, free: 99.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006033/0.852, allocations: 0.5551 MB / 0.9541 GB, free: 99.19 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008621/0.8529, allocations: 407.3 kB / 0.9545 GB, free: 98.99 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.746e-05/0.8529, allocations: 305 kB / 0.9548 GB, free: 98.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.8545, allocations: 1.065 MB / 0.9558 GB, free: 98.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.8564, allocations: 1.757 MB / 0.9575 GB, free: 96.99 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/0.8599, allocations: 3.05 MB / 0.9605 GB, free: 95.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-05/0.8599, allocations: 6.469 kB / 0.9605 GB, free: 95.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00641/0.8663, allocations: 3.928 MB / 0.9643 GB, free: 93.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/0.8664, allocations: 14.53 kB / 0.9643 GB, free: 93.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.675e-05/0.8664, allocations: 22.91 kB / 0.9644 GB, free: 93.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002511/0.8689, allocations: 0.9271 MB / 0.9653 GB, free: 93.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.8705, allocations: 432.5 kB / 0.9657 GB, free: 93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/0.8852, allocations: 21.05 MB / 0.9862 GB, free: 73.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/0.8872, allocations: 126.7 kB / 0.9864 GB, free: 73.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003099/0.8875, allocations: 94.72 kB / 0.9864 GB, free: 73.57 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 (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.002486/0.89, allocations: 1.643 MB / 0.9881 GB, free: 72.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006041/0.8906, allocations: 259.2 kB / 0.9883 GB, free: 72.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/0.8955, allocations: 3.266 MB / 0.9915 GB, free: 70.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.8955, allocations: 15.5 kB / 0.9915 GB, free: 70.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.142e-05/0.8956, allocations: 15.53 kB / 0.9915 GB, free: 70.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.8956, allocations: 11.58 kB / 0.9915 GB, free: 70.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.9078, allocations: 7.543 MB / 0.9989 GB, free: 65.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.9079, allocations: 6.531 kB / 0.9989 GB, free: 65.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008988/0.9088, allocations: 221.5 kB / 0.9991 GB, free: 65.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/0.9109, allocations: 0.8911 MB / 1 GB, free: 65.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.9111, allocations: 35.66 kB / 1 GB, free: 65.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/0.925, allocations: 21.02 MB / 1.021 GB, free: 43.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.925, allocations: 7.984 kB / 1.021 GB, free: 43.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004872/0.9299, allocations: 3.375 MB / 1.024 GB, free: 39.72 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.9311, allocations: 0.5292 MB / 1.024 GB, free: 39.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005732/0.9316, allocations: 39.98 kB / 1.024 GB, free: 39.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.933, allocations: 95.89 kB / 1.024 GB, free: 39.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/0.9334, allocations: 137 kB / 1.025 GB, free: 38.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.9335, allocations: 50.41 kB / 1.025 GB, free: 38.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001746/0.9353, allocations: 1.221 MB / 1.026 GB, free: 37.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9353, allocations: 0 / 1.026 GB, free: 37.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003079/0.9384, allocations: 0.9062 MB / 1.027 GB, free: 36.71 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 (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.004587/0.943, allocations: 3.991 MB / 1.031 GB, free: 32.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005001/0.948, allocations: 4.407 MB / 1.035 GB, free: 28.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.948, allocations: 4 kB / 1.035 GB, free: 28.05 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003153/0.9512, allocations: 2.994 MB / 1.038 GB, free: 24.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/0.9547, allocations: 0.7594 MB / 1.039 GB, free: 24.15 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04048/0.9952, allocations: 29.5 MB / 1.067 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004045/0.9993, allocations: 3.203 MB / 1.071 GB, free: 5.109 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00189/1.001, allocations: 0.5332 MB / 1.071 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/1.003, allocations: 1.655 MB / 1.073 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/1.003, allocations: 0 / 1.073 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/1.103, allocations: 69.24 MB / 1.14 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/1.104, allocations: 245.1 kB / 1.141 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.051/4.155, allocations: 6.047 kB / 1.141 GB, free: 14.24 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)