Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="BuildingSystems_BuildingSystems_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.001166/0.001166, 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.001186/0.001186, allocations: 192.1 kB / 16.14 MB, free: 6.707 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.164/1.164, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00191/0.00191, allocations: 283.7 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8312/0.8312, allocations: 169.2 MB / 0.4977 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 88.95 kB / 0.5946 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1272, allocations: 86.98 MB / 0.6796 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02072/0.148, allocations: 23.21 MB / 0.7022 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009013/0.157, allocations: 6.511 MB / 0.7086 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.1582, allocations: 83.5 kB / 0.7087 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.161, allocations: 1.353 MB / 0.71 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.1637, allocations: 1.743 MB / 0.7117 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.1662, allocations: 1.332 MB / 0.713 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008166/0.1744, allocations: 10.62 MB / 0.7234 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008704/0.1831, allocations: 7.61 MB / 0.7308 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.1863, allocations: 2.402 MB / 0.7331 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003669/0.19, allocations: 3.607 MB / 0.7367 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005627/0.1905, allocations: 380 kB / 0.737 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.1925, allocations: 1.197 MB / 0.7382 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001786/0.1943, allocations: 2.319 MB / 0.7404 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.1963, allocations: 2.349 MB / 0.7427 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005894/0.2022, allocations: 8.386 MB / 0.7509 GB, free: 7.695 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2022, allocations: 4 kB / 0.7509 GB, free: 7.691 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2022, allocations: 0 / 0.7509 GB, free: 7.691 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001055/0.2024, allocations: 4 kB / 0.7509 GB, free: 7.688 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.006154/0.2085, allocations: 4.424 MB / 0.7553 GB, free: 3.195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2086, allocations: 12.03 kB / 0.7553 GB, free: 3.184 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006222/0.2092, allocations: 0.5714 MB / 0.7558 GB, free: 2.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007234/0.2164, allocations: 1.677 MB / 0.7575 GB, free: 0.918 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.22, allocations: 2.571 MB / 0.76 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.2202, allocations: 283.6 kB / 0.7602 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005106/0.2207, allocations: 360.2 kB / 0.7606 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009342/0.23, allocations: 7.483 MB / 0.7679 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.626e-05/0.2301, allocations: 15.92 kB / 0.7679 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003677/0.2305, allocations: 159.9 kB / 0.7681 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004735/0.231, allocations: 487.4 kB / 0.7685 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2228/0.4538, allocations: 5.69 MB / 0.7741 GB, free: 85.65 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.4774, allocations: 31.73 MB / 0.8051 GB, free: 61.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.4795, allocations: 2.097 MB / 0.8071 GB, free: 60.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002147/0.4816, allocations: 2.18 MB / 0.8092 GB, free: 59.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.4818, allocations: 15.81 kB / 0.8093 GB, free: 59.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.4818, allocations: 44.88 kB / 0.8093 GB, free: 59.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=146): time 2.836e-06/0.4818, allocations: 0 / 0.8093 GB, free: 59.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=251): time 0.2266/0.7084, allocations: 77 MB / 0.8845 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.7085, allocations: 81.39 kB / 0.8846 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.7104, allocations: 1.67 MB / 0.8862 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002552/0.7107, allocations: 61.7 kB / 0.8863 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009205/0.7116, allocations: 1.747 MB / 0.888 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006741/0.7123, allocations: 0.85 MB / 0.8888 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009076/0.7132, allocations: 481.2 kB / 0.8893 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.7133, allocations: 313.1 kB / 0.8896 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003349/0.7166, allocations: 2.73 MB / 0.8922 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003682/0.7203, allocations: 3.328 MB / 0.8955 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007357/0.7277, allocations: 6.393 MB / 0.9017 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.7277, allocations: 4 kB / 0.9017 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.028/0.7557, allocations: 14.69 MB / 0.9161 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.7557, allocations: 12 kB / 0.9161 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.7558, allocations: 20 kB / 0.9161 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02619/0.782, allocations: 9.241 MB / 0.9251 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009839/0.783, allocations: 299.5 kB / 0.9254 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06458/0.8476, allocations: 47.45 MB / 0.9717 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.8499, allocations: 219.7 kB / 0.9719 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/0.8502, allocations: 107.9 kB / 0.9721 GB, free: 15.91 MB / 0.67 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.002194/0.8524, allocations: 1.578 MB / 0.9736 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004243/0.8528, allocations: 245 kB / 0.9738 GB, free: 14.08 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02839/0.8812, allocations: 14.76 MB / 0.9882 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.8813, allocations: 24 kB / 0.9883 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.111e-05/0.8813, allocations: 44 kB / 0.9883 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-05/0.8814, allocations: 11.95 kB / 0.9883 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03897/0.9204, allocations: 20.52 MB / 1.008 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-05/0.9204, allocations: 8 kB / 1.008 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007108/0.9212, allocations: 164.5 kB / 1.009 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02651/0.9477, allocations: 9.01 MB / 1.017 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004483/0.9482, allocations: 48 kB / 1.017 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2977/1.246, allocations: 47.01 MB / 1.063 GB, free: 240.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.246, allocations: 16.22 kB / 1.063 GB, free: 240.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02548/1.271, allocations: 14.36 MB / 1.077 GB, free: 236.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.273, allocations: 0.8472 MB / 1.078 GB, free: 236 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003841/1.273, allocations: 58.16 kB / 1.078 GB, free: 236 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.275, allocations: 211.4 kB / 1.078 GB, free: 235.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001049/1.276, allocations: 233.5 kB / 1.079 GB, free: 235.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.276, allocations: 64.41 kB / 1.079 GB, free: 235.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001202/1.277, allocations: 1.126 MB / 1.08 GB, free: 235.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/1.277, allocations: 1.188 kB / 1.08 GB, free: 235.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003251/1.28, allocations: 1.612 MB / 1.081 GB, free: 235.3 MB / 0.7325 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.02422/1.305, allocations: 14.97 MB / 1.096 GB, free: 228.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01592/1.321, allocations: 10.54 MB / 1.106 GB, free: 222.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.321, allocations: 0 / 1.106 GB, free: 222.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01222/1.333, allocations: 7.311 MB / 1.113 GB, free: 214.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.335, allocations: 0.5058 MB / 1.114 GB, free: 214.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07071/1.406, allocations: 55.15 MB / 1.168 GB, free: 157 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/1.408, allocations: 3.227 MB / 1.171 GB, free: 153.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008203/1.409, allocations: 396.1 kB / 1.171 GB, free: 153.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.41, allocations: 1.468 MB / 1.173 GB, free: 151.9 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/1.41, allocations: 0 / 1.173 GB, free: 151.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.567/2.977, allocations: 117 MB / 1.287 GB, free: 35.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/2.977, allocations: 271.5 kB / 1.287 GB, free: 35.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.31/6.288, allocations: 2.672 kB / 1.287 GB, free: 35.14 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)