Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_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.001505/0.001505, allocations: 105.8 kB / 16.4 MB, free: 6.488 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.001385/0.001385, allocations: 199.8 kB / 17.34 MB, free: 5.766 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6983/0.6983, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 62.53 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 76.17 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03493/0.1785, allocations: 32.57 MB / 0.6634 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01656/0.1951, allocations: 10.28 MB / 0.6735 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003515/0.1987, allocations: 151.2 kB / 0.6736 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009449/0.2082, allocations: 3.726 MB / 0.6772 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.2136, allocations: 1.85 MB / 0.679 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005819/0.2195, allocations: 2.13 MB / 0.6811 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008745/0.2283, allocations: 7.333 MB / 0.6883 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01283/0.2411, allocations: 9.411 MB / 0.6975 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005319/0.2465, allocations: 3.217 MB / 0.7006 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005417/0.252, allocations: 3.493 MB / 0.704 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001861/0.2538, allocations: 0.6445 MB / 0.7047 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004251/0.2581, allocations: 1.771 MB / 0.7064 GB, free: 8.012 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003678/0.2618, allocations: 2.546 MB / 0.7089 GB, free: 5.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005514/0.2674, allocations: 2.898 MB / 0.7117 GB, free: 2.551 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.2795, allocations: 10.11 MB / 0.7216 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2796, allocations: 3.938 kB / 0.7216 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2796, allocations: 0 / 0.7216 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003393/0.2799, allocations: 0 / 0.7216 GB, free: 8.41 MB / 0.5606 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.0151/0.2951, allocations: 5.006 MB / 0.7265 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.2951, allocations: 12.03 kB / 0.7265 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002042/0.2972, allocations: 0.682 MB / 0.7271 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005843/0.303, allocations: 0.9473 MB / 0.7281 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00651/0.3096, allocations: 3.046 MB / 0.731 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.3099, allocations: 345.7 kB / 0.7314 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.3112, allocations: 460.1 kB / 0.7318 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/0.3254, allocations: 7.667 MB / 0.7393 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/0.3256, allocations: 31.61 kB / 0.7393 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006995/0.3263, allocations: 204 kB / 0.7395 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003114/0.3266, allocations: 313 kB / 0.7398 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3229/0.6495, allocations: 5.703 MB / 0.7454 GB, free: 97.49 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03378/0.6834, allocations: 34.83 MB / 0.7794 GB, free: 68.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/0.6861, allocations: 2.15 MB / 0.7815 GB, free: 67.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.6876, allocations: 1.271 MB / 0.7827 GB, free: 66.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.683e-05/0.6877, allocations: 18.03 kB / 0.7828 GB, free: 66.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.6878, allocations: 45.22 kB / 0.7828 GB, free: 66.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 3.316e-06/0.6878, allocations: 0 / 0.7828 GB, free: 66.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.01244/0.7002, allocations: 7.08 MB / 0.7897 GB, free: 62.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.7003, allocations: 64.5 kB / 0.7898 GB, free: 62.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.7019, allocations: 1.486 MB / 0.7912 GB, free: 61.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.82e-05/0.702, allocations: 49.64 kB / 0.7913 GB, free: 61.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006988/0.7027, allocations: 2.016 MB / 0.7932 GB, free: 59.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.703, allocations: 479.8 kB / 0.7937 GB, free: 58.99 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.7034, allocations: 353.3 kB / 0.794 GB, free: 58.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.7035, allocations: 301.1 kB / 0.7943 GB, free: 58.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009761/0.7045, allocations: 0.9146 MB / 0.7952 GB, free: 58.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.7057, allocations: 1.594 MB / 0.7968 GB, free: 56.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.7081, allocations: 2.734 MB / 0.7994 GB, free: 54.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.7081, allocations: 10.31 kB / 0.7995 GB, free: 54.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005107/0.7133, allocations: 3.54 MB / 0.8029 GB, free: 52.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.7133, allocations: 12.94 kB / 0.8029 GB, free: 52.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.7133, allocations: 23.69 kB / 0.803 GB, free: 52.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/0.7155, allocations: 0.8947 MB / 0.8038 GB, free: 52.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.7166, allocations: 352.8 kB / 0.8042 GB, free: 52.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/0.7311, allocations: 23.11 MB / 0.8267 GB, free: 27.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.7329, allocations: 96.02 kB / 0.8268 GB, free: 27.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.7331, allocations: 96.05 kB / 0.8269 GB, free: 27.28 MB / 0.5762 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.002484/0.7356, allocations: 1.606 MB / 0.8285 GB, free: 25.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004321/0.736, allocations: 209.5 kB / 0.8287 GB, free: 25.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/0.7402, allocations: 2.998 MB / 0.8316 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.7403, allocations: 15.94 kB / 0.8316 GB, free: 22.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.7403, allocations: 8 kB / 0.8316 GB, free: 22.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.7403, allocations: 3.984 kB / 0.8316 GB, free: 22.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.751, allocations: 7.33 MB / 0.8388 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.751, allocations: 7.984 kB / 0.8388 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007376/0.7518, allocations: 171.7 kB / 0.839 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.7538, allocations: 0.8223 MB / 0.8398 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.7539, allocations: 28 kB / 0.8398 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/0.7698, allocations: 21.94 MB / 0.8612 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.7699, allocations: 11.31 kB / 0.8612 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004991/0.7749, allocations: 3.025 MB / 0.8642 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.7761, allocations: 462.5 kB / 0.8646 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.7763, allocations: 39.91 kB / 0.8647 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008145/0.7772, allocations: 75.84 kB / 0.8647 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003546/0.7775, allocations: 128.7 kB / 0.8649 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/0.7776, allocations: 36 kB / 0.8649 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00125/0.7789, allocations: 0.9756 MB / 0.8658 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7789, allocations: 0 / 0.8658 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002915/0.7818, allocations: 0.7891 MB / 0.8666 GB, free: 492 kB / 0.5919 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.005052/0.7869, allocations: 3.611 MB / 0.8701 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0056/0.7925, allocations: 4.025 MB / 0.8741 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.7925, allocations: 8.125 kB / 0.8741 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0035/0.796, allocations: 2.727 MB / 0.8767 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.7992, allocations: 0.7419 MB / 0.8775 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03388/0.8331, allocations: 22.32 MB / 0.8993 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003588/0.8367, allocations: 3.108 MB / 0.9023 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001323/0.8381, allocations: 461.9 kB / 0.9027 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001704/0.8398, allocations: 1.538 MB / 0.9042 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of SimCode: time 8.21e-07/0.8398, allocations: 0 / 0.9042 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/0.9528, allocations: 61.95 MB / 0.9647 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.53, allocations: 11.53 kB / 0.9648 GB, free: 11.21 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)