Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.001409/0.001409, allocations: 110.3 kB / 16.41 MB, free: 6.441 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.001315/0.001315, allocations: 195.9 kB / 17.34 MB, free: 5.703 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7058/0.7058, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 66.67 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1455, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02373/0.1693, allocations: 23.4 MB / 0.6544 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01161/0.1809, allocations: 6.488 MB / 0.6608 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002649/0.1836, allocations: 99.5 kB / 0.6609 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004458/0.1881, allocations: 1.483 MB / 0.6623 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.1932, allocations: 1.832 MB / 0.6641 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004481/0.1977, allocations: 1.464 MB / 0.6655 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008844/0.2066, allocations: 6.915 MB / 0.6723 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0112/0.2178, allocations: 6.928 MB / 0.6791 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005075/0.2229, allocations: 2.878 MB / 0.6819 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005122/0.2281, allocations: 3.478 MB / 0.6853 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001523/0.2296, allocations: 0.5234 MB / 0.6858 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.2328, allocations: 1.182 MB / 0.6869 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003361/0.2362, allocations: 2.456 MB / 0.6893 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00457/0.2407, allocations: 2.54 MB / 0.6918 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009148/0.2499, allocations: 8.519 MB / 0.7001 GB, free: 14.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2499, allocations: 0 / 0.7001 GB, free: 14.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.25, allocations: 3.938 kB / 0.7001 GB, free: 14.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002583/0.2502, allocations: 0 / 0.7001 GB, free: 14.44 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01042/0.2607, allocations: 4.439 MB / 0.7045 GB, free: 9.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2607, allocations: 8.031 kB / 0.7045 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001454/0.2622, allocations: 0.5675 MB / 0.705 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008534/0.2707, allocations: 1.681 MB / 0.7067 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006198/0.277, allocations: 2.692 MB / 0.7093 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.2772, allocations: 275.7 kB / 0.7096 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001173/0.2784, allocations: 360.3 kB / 0.7099 GB, free: 4.289 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.2926, allocations: 7.487 MB / 0.7172 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.2927, allocations: 15.94 kB / 0.7172 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006704/0.2934, allocations: 159.9 kB / 0.7174 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005524/0.2939, allocations: 483.3 kB / 0.7179 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.3041, allocations: 5.705 MB / 0.7234 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03442/0.3385, allocations: 31.49 MB / 0.7542 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.3416, allocations: 2.093 MB / 0.7562 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2846/0.6262, allocations: 2.179 MB / 0.7584 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.6265, allocations: 18.69 kB / 0.7584 GB, free: 115.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.6266, allocations: 55.77 kB / 0.7584 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.086e-06/0.6266, allocations: 0 / 0.7584 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=251): time 0.2895/0.9161, allocations: 77.03 MB / 0.8336 GB, free: 58.13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.9162, allocations: 77.41 kB / 0.8337 GB, free: 58.04 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002483/0.9187, allocations: 1.67 MB / 0.8354 GB, free: 56.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005349/0.9192, allocations: 65.7 kB / 0.8354 GB, free: 56.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009292/0.9202, allocations: 1.739 MB / 0.8371 GB, free: 54.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009809/0.9212, allocations: 0.8533 MB / 0.8379 GB, free: 53.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001245/0.9224, allocations: 481.2 kB / 0.8384 GB, free: 53.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.67e-05/0.9225, allocations: 309.1 kB / 0.8387 GB, free: 52.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003175/0.9256, allocations: 2.734 MB / 0.8414 GB, free: 50.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003452/0.9291, allocations: 3.328 MB / 0.8446 GB, free: 46.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006671/0.9358, allocations: 6.393 MB / 0.8509 GB, free: 39.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/0.9359, allocations: 4 kB / 0.8509 GB, free: 39.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0289/0.9648, allocations: 14.68 MB / 0.8652 GB, free: 25.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.9648, allocations: 12 kB / 0.8652 GB, free: 25.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.26e-05/0.9649, allocations: 20 kB / 0.8652 GB, free: 25.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02734/0.9922, allocations: 9.24 MB / 0.8743 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.9934, allocations: 303.5 kB / 0.8745 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07717/1.071, allocations: 52.34 MB / 0.9257 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/1.074, allocations: 219.7 kB / 0.9259 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005254/1.074, allocations: 104 kB / 0.926 GB, free: 10.12 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002877/1.077, allocations: 1.586 MB / 0.9275 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006785/1.078, allocations: 242.9 kB / 0.9278 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0326/1.11, allocations: 14.75 MB / 0.9422 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/1.11, allocations: 25.27 kB / 0.9422 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001634/1.111, allocations: 47.98 kB / 0.9422 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.748e-05/1.111, allocations: 11.95 kB / 0.9422 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04554/1.156, allocations: 20.52 MB / 0.9623 GB, free: 4.727 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.374e-05/1.156, allocations: 8 kB / 0.9623 GB, free: 4.719 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007892/1.157, allocations: 164.5 kB / 0.9624 GB, free: 4.559 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02934/1.186, allocations: 9.006 MB / 0.9712 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005674/1.187, allocations: 48 kB / 0.9713 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07864/1.266, allocations: 51.91 MB / 1.022 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.266, allocations: 12 kB / 1.022 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0331/1.299, allocations: 14.37 MB / 1.036 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002666/1.302, allocations: 0.8385 MB / 1.037 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009294/1.303, allocations: 51.98 kB / 1.037 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002712/1.305, allocations: 207.7 kB / 1.037 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001478/1.307, allocations: 241.6 kB / 1.037 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003714/1.307, allocations: 67.94 kB / 1.037 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002159/1.309, allocations: 1.129 MB / 1.038 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.309, allocations: 11.31 kB / 1.038 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005486/1.315, allocations: 1.609 MB / 1.04 GB, free: 4.02 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3502/1.665, allocations: 14.97 MB / 1.055 GB, free: 250.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02086/1.686, allocations: 10.56 MB / 1.065 GB, free: 248.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.686, allocations: 3.938 kB / 1.065 GB, free: 248.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0154/1.701, allocations: 7.302 MB / 1.072 GB, free: 245.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/1.704, allocations: 0.5527 MB / 1.073 GB, free: 245.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08553/1.79, allocations: 50.82 MB / 1.122 GB, free: 204.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00296/1.793, allocations: 3.224 MB / 1.125 GB, free: 201.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009366/1.794, allocations: 394 kB / 1.126 GB, free: 200.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/1.795, allocations: 1.464 MB / 1.127 GB, free: 199.3 MB / 0.7481 GB Notification: Performance of SimCode: time 6.72e-07/1.795, allocations: 0 / 1.127 GB, free: 199.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1601/1.955, allocations: 123.9 MB / 1.248 GB, free: 75.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/16.36, allocations: 18.67 kB / 1.248 GB, free: 75.88 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)