Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.337/1.337, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009317/0.0009316, allocations: 171.4 kB / 325.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009841/0.0009841, allocations: 96.05 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 14.72 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1845, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01696/0.2015, allocations: 22.88 MB / 0.9186 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00855/0.2101, allocations: 6.547 MB / 0.9249 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.2121, allocations: 87.56 kB / 0.925 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003146/0.2152, allocations: 1.348 MB / 0.9263 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.219, allocations: 1.739 MB / 0.928 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.2218, allocations: 1.323 MB / 0.9293 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007948/0.2298, allocations: 10.56 MB / 0.9396 GB, free: 23.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008989/0.2388, allocations: 7.565 MB / 0.947 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003582/0.2424, allocations: 2.124 MB / 0.9491 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004147/0.2466, allocations: 3.185 MB / 0.9522 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001166/0.2478, allocations: 244 kB / 0.9525 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.2504, allocations: 1.061 MB / 0.9535 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001863/0.2523, allocations: 2.097 MB / 0.9555 GB, free: 7.086 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001837/0.2542, allocations: 2.099 MB / 0.9576 GB, free: 4.977 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006034/0.2602, allocations: 8.118 MB / 0.9655 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2602, allocations: 4 kB / 0.9655 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2602, allocations: 0 / 0.9655 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001825/0.2604, allocations: 0 / 0.9655 GB, free: 12.83 MB / 0.6198 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.005769/0.2662, allocations: 3.574 MB / 0.969 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.2663, allocations: 8.031 kB / 0.969 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007242/0.267, allocations: 0.5714 MB / 0.9696 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007268/0.2743, allocations: 1.673 MB / 0.9712 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004143/0.2784, allocations: 2.575 MB / 0.9737 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.2786, allocations: 283.7 kB / 0.974 GB, free: 4.008 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005919/0.2792, allocations: 360.2 kB / 0.9743 GB, free: 3.656 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/0.29, allocations: 7.479 MB / 0.9816 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.279e-05/0.2901, allocations: 15.88 kB / 0.9817 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/0.2904, allocations: 159.9 kB / 0.9818 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004966/0.2909, allocations: 491.3 kB / 0.9823 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007958/0.2989, allocations: 5.697 MB / 0.9878 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0289/0.3278, allocations: 31.68 MB / 1.019 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.3303, allocations: 2.09 MB / 1.021 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002545/0.3329, allocations: 2.174 MB / 1.023 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.3331, allocations: 13.31 kB / 1.023 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.3331, allocations: 43.88 kB / 1.023 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 3.507e-06/0.3331, allocations: 0 / 1.023 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.6276/0.9608, allocations: 75.28 MB / 1.097 GB, free: 126.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.9608, allocations: 81.34 kB / 1.097 GB, free: 126 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.9625, allocations: 1.67 MB / 1.098 GB, free: 124.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002824/0.9628, allocations: 65.7 kB / 1.098 GB, free: 124.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006552/0.9635, allocations: 1.74 MB / 1.1 GB, free: 122.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005423/0.964, allocations: 0.8551 MB / 1.101 GB, free: 121.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.9643, allocations: 207.9 kB / 1.101 GB, free: 121.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.9644, allocations: 301.1 kB / 1.101 GB, free: 121.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002723/0.9671, allocations: 2.734 MB / 1.104 GB, free: 118.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/0.97, allocations: 3.324 MB / 1.107 GB, free: 114.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005982/0.976, allocations: 6.395 MB / 1.113 GB, free: 108.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.976, allocations: 7.938 kB / 1.113 GB, free: 108.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02585/1.002, allocations: 14.68 MB / 1.128 GB, free: 93.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/1.002, allocations: 14.34 kB / 1.128 GB, free: 93.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/1.002, allocations: 21.73 kB / 1.128 GB, free: 93.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02447/1.026, allocations: 9.237 MB / 1.137 GB, free: 84.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.027, allocations: 303.4 kB / 1.137 GB, free: 83.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05709/1.085, allocations: 47.14 MB / 1.183 GB, free: 35.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/1.088, allocations: 223.7 kB / 1.183 GB, free: 35.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000477/1.088, allocations: 99.98 kB / 1.183 GB, free: 35.61 MB / 0.698 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.002511/1.091, allocations: 1.588 MB / 1.185 GB, free: 34.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005617/1.091, allocations: 245.1 kB / 1.185 GB, free: 33.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02577/1.117, allocations: 14.75 MB / 1.2 GB, free: 18.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/1.117, allocations: 24 kB / 1.2 GB, free: 18.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001281/1.117, allocations: 44 kB / 1.2 GB, free: 18.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.09e-05/1.117, allocations: 11.95 kB / 1.2 GB, free: 18.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03466/1.152, allocations: 20.54 MB / 1.22 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-05/1.152, allocations: 8 kB / 1.22 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/1.153, allocations: 159.8 kB / 1.22 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02759/1.18, allocations: 9.002 MB / 1.229 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004562/1.181, allocations: 48 kB / 1.229 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06688/1.248, allocations: 46.75 MB / 1.274 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.296e-05/1.248, allocations: 11.94 kB / 1.274 GB, free: 5.383 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0301/1.278, allocations: 14.36 MB / 1.289 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/1.28, allocations: 0.8479 MB / 1.289 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007201/1.281, allocations: 51.98 kB / 1.289 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.283, allocations: 207.7 kB / 1.29 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001298/1.284, allocations: 241.5 kB / 1.29 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002677/1.284, allocations: 68 kB / 1.29 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00184/1.286, allocations: 1.121 MB / 1.291 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.91e-07/1.286, allocations: 3.938 kB / 1.291 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004979/1.291, allocations: 1.602 MB / 1.293 GB, free: 2.711 MB / 0.7761 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.03064/1.322, allocations: 14.97 MB / 1.307 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.02052/1.342, allocations: 10.37 MB / 1.317 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.342, allocations: 0.875 kB / 1.317 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01536/1.358, allocations: 7.16 MB / 1.324 GB, free: 1.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/1.362, allocations: 0.5198 MB / 1.325 GB, free: 1.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3834/1.745, allocations: 55.08 MB / 1.379 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003162/1.749, allocations: 3.229 MB / 1.382 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00106/1.75, allocations: 387.4 kB / 1.382 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/1.751, allocations: 1.466 MB / 1.384 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/1.751, allocations: 0 / 1.384 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.284/2.035, allocations: 113.3 MB / 1.494 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/2.035, allocations: 263.8 kB / 1.494 GB, free: 191 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.099/6.134, allocations: 3.094 kB / 1.494 GB, free: 191 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)